Time.Deltatime causing jerky movement

Hello folks, I am using unit.transform.Translate(Vector3.forward * Time.deltaTime * velocity); to move my unit across the battlefield. However, when playing on the fantastic setting the FPS is capped at 60, or so fraps says anyway. At that fps my unit’s movement doesnt feel very fluid. Obviously I cant just remove the deltatime var because then my unit would move with the speed of light on low settings.

The problem is that if I had low fps then this non fluid movement would be perfectly explainable but 60 FPS should be more than enough to make the game look good.

What would be a good workaround for this issue?

1 Answer

1

Could that potentially be a vsync issue? I might try and play with that setting. I’m curious to see what would actually cause something like that.

Thats interesting, turning off vSync did in fact resolve the issue. Thank you !

@Noxrawr - please click on the checkmark next to @Sekto's answer to close it out. Thanks.

Cool, glad I was able to help.