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.
S = U * time;
Sx = S * cos ( theta )
Sy = S * sin ( theta )