Support Forum

Velocity.magnitude bound to framerate?

Hello,
for the project i’m currently working on we noticed that aiPath.velocity.magnitude is impacted by the framerate. The values are higher than our max agent movementspeed value when the framerate is low. With this issue it’s harder to control animations. Do you have any idea about that? Our agent should have a max speed of 7 but occasionally goes up to 14.
Greetings,
Bryan.

Hi

Is your framerate a stable low fps or a very unstable low fps? Also, what fps values are we talking about?

The problem occured first on a console with bad hardware. But we can also force it in the inspector if we select a gameobject with alot of values jumping. So it happens at a framerate of 25~ and lower.

Having the exact same issue, low fps make the character velocities higher. Seems like perhaps the agent velocity is not using deltatime?