Home > database >  Find translation of point on grid using angle and distance of motion
Find translation of point on grid using angle and distance of motion

Time:10-15

I am attempting to create an in-game projectile that moves on a grid at a certain translation per second, but to do this I need equations to find the translation of the projectile in the two orthogonal directions using the angle of motion and the distance per second (speed).

CodePudding user response:

Break the speed u into ux and uy using trigonometry.

enter image description here

S  = U * time;
Sx = S * cos ( theta )
Sy = S * sin ( theta )
  • Related