- #1
Redweasel
- 3
- 0
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 velocity * sin(theta)
But I can't figure out to apply this to an 3D-environment. Can anybody give me some good resources for learning this concept or provide some examples?
Many thanks in advance!
Redweasel
P.S.: Sorry for my bad english
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 velocity * sin(theta)
But I can't figure out to apply this to an 3D-environment. Can anybody give me some good resources for learning this concept or provide some examples?
Many thanks in advance!
Redweasel
P.S.: Sorry for my bad english