how to calculate next position of an object

hello!
thank’s you for your help in advance.

actually i’m trying to figure out how to know my player position after a 3 seconds, it moves 5 m/s and he it’s moving by applying velocity to the transform.foward.

there is a usefull unity math function to calculate it?

I’m not sure, but I think you would multiply the transform.eulerAngles * speed * time and add it to the original position.

Right, execpt you need to use transform.position + (transform.forward * speed * time)

I dont see how the euler angles get you there

1 Like

Yeah, I wasn’t thinking quite clear on that, thanks.

thank’s you,!