Delta Time explanation

I’d like to think about DeltaTime as something that deminish variable depend on framerate. In case of input we have number between -1 to 1 and by multiplying we’re actually making variable xValue depend on framerate)) but movement independent.
So if we have 0.1 deltatime and input 1 we have xValue of 0.1. This means “transform.Translate” will add 0.1 to player x position per frame.
When we have 0.01 deltatime and input 1, xValue is 0.01 and player position changes by 10 times less distance but faster. Hope maybe it’ll be useful for someone)

1 Like

Privacy & Terms