The pitch should be related to the x axis.
The purpose for this is java programming. I want to create a little program where you enter the initial velocity, yaw and pitch and then throw a ball. It then displays the time when it hits the floor (time = zInitialVelocity / g * 2) and the x and y...
Hello,
I want to calculate the velocity components x, y and z based on a velocity value and two angles (yaw along the z-axis and pitch).
I know how to calculate the x and y components in an 2D-environment:
initial velocity x = initial velocity * cos(theta)
initial velocity y = initial...