Frame Independent Movement

Hello everyone. I’m new to Unity and i would like to know how to make a game object move X units per second. I have made this:

Vector3 impulsionDirection;
this.impulsionDirection += this.transform.up * this.movementSpeed * Time.deltaTime;

But i think Time.deltaTime is just giving the time between frames. I would appreciate the help. :slight_smile:

Yes, Time.deltaTime is the time between frames, which is the idea. That way different frame rates will still result in the same movement rate. Look up Time.deltaTime in the docs if you haven’t already.

–Eric