This commit is contained in:
lapich committed 2026-03-20 00:22:54 +03:00
1 parent 1798ac3fc5
commit 5e51ba02e0
5 files changed
+744 -25

No files matched your search

+1 -4
View File
@@ -45,10 +45,7 @@ public class Agent : MonoBehaviour
velocity.Normalize();
velocity = velocity * maxSpeed;
}
if (steering.angular == 0.0f)
{
rotation = 0.0f;
}
if (steering.linear.sqrMagnitude == 0.0f)
{
velocity = Vector3.zero;