FixedUpdate

Can someone clear some things for me about this function?

In order to have hw spec independent movement/transform speed of my objects i should use this function instead of Update() ?

Since this function is called at fixed time intervals i don’t need to multiply/scale my “speeds” with any time deltas?

Thank you for your time.

You should use it only for physics, nothing else. For framerate-independent movement, use Time.deltaTime properly in Update.

–Eric

Ok, but i suspect that deltaTime has its flaws. For example on fast PC deltaTime would be smaller then on slower ones, so movement speed would be different?

Movement speed would be different without Time.deltaTime. You use Time.deltaTime to ensure that movement speed is the same regardless of framerate.

The faster PC would have a lower deltaTime, however it is balanced out by the higher frame-rate (Update is called once per frame)

That’s the whole point, yes. That’s precisely why you normally use Time.deltaTime; just don’t use it with input that’s already framerate-independent, primarily mouse movement.

–Eric