Does recast navigation take into account delta time for agent movement speed?

I was wondering if I needed to take into account slower framerates for agents moving on the recast navmesh. Is delta time taken into account when moving agents around?

cc @Cedric

You can either have fixed time step or variable ones:

Both have pros and cons.
For examplem variable time step can be an issue if you switch browser tab for a long time then get back to your babylon tab. the delta will be huge and agents can be moved way too far.
If your framerate varies a lot, variable framerate is interesting but you’ll have to take care of some extra details like that.

4 Likes

Ok thanks for clarifying!

1 Like