user16779236
user16779236

Reputation:

Why does the accuracy of Navmesh Agent Path depend on Moving Object's Acceleration Value?

I use Unity's Navmesh agent to govern the movement of my objects. I am observing a weird behaviour: increasing the acceleration of my object increases the accuracy of the path.

For example, consider the following two objects:

  1. Object 1 moves with speed of 15 and acceleration of 30.
  2. Object 2 moves with speed of 15 and acceleration of 8.

I instruct both objects to move to the same spot one at a time. Reaching the spot requires the object to make a left turn around a building.

Object 1 reaches destination using a nice tight path while Object 2 makes a weird turn when trying to turn. I've captured these two in the attached GIF.

Why is this happening?

enter image description here

Upvotes: 1

Views: 771

Answers (0)

Related Questions