Support Forum

Increasing Fixed timestep breaks agent behaviour

Hi,

I don’t use physics for anything in my game so I wanted to improve performance a bit and increase the fixed Timestep from 0.02 to 0.1, this completely breaks the agent movement, is there any way around that?

Hi

Breaks movement in what way?

They no longer follow a path smoothly, they start zig-zagging and moving rly weirdly towards their destination. This is with a kinematic rigidbody attached.

Hi

Probably they overshoot a lot when trying to follow the path. Similar to what is described here: https://arongranberg.com/astar/docs/aipath.html#pickNextWaypointDist (but at a lower framerate obviously)