About deltaTime

I understood its purpose but i used FixedUpdate and never used deltaTime in my previous projects, do they serve the same purpose or different things ?

1 Like

Welcome to the community!

Yes… but actually no. In this scenario, they are used to do something quite similar, which is to represent movement in an accurate way regardless of frame rate but they actually do very different things: FixedUpdate uses a, as the name implies, fixed clock to make calculations (you can change the speed of the clock in the Project Settings) while deltaTime is just a float that tells you the duration of the last frame.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms