I need the algorithm to animate the arrow based on 2 parameters, angle while shooting and power while drawing the bow.
Ive tried to use y=asinx but it works only when shooting in up direction. Doesnt work well while shooting with straight or down direction. Thanks.
I need the algorithm to animate the arrow based on 2 parameters, angle while
Share
The flight of your projectile is described by
where t is time, v the initial velocity (power), theta the angle, g the acceleration due to gravity (e.g. 9.8 m/s^2), x the horizontal coordinate and y the height.