Hello its me again!
I figured out how to phrase my question better this time
I have a 3d airplane

It has 3 axes or rotation.
The entire model of the plane is a solid piece aside from the propeller which spins. I am able to make the propeller match the pitch yaw and rotation of the main body so it is always facing the proper direction, the problem I am having is reliably placing the propeller on the nose of the plane.
The distance from the planes rotation axes (0,0,0) is always known as the propeller never moves from the face of the plane. So I have 4 variables to work with
D = distance from the center of the plane model to the propeller
P = Plane Pitch
Y = Plane Yaw
R = Plane Rotation
How can I take these 4 variables, put them into an equation suitable for a programming language like java and have it spit out X, Y , Z coordinates to place the propeller?
Thank you!
I figured out how to phrase my question better this time
I have a 3d airplane

It has 3 axes or rotation.
The entire model of the plane is a solid piece aside from the propeller which spins. I am able to make the propeller match the pitch yaw and rotation of the main body so it is always facing the proper direction, the problem I am having is reliably placing the propeller on the nose of the plane.
The distance from the planes rotation axes (0,0,0) is always known as the propeller never moves from the face of the plane. So I have 4 variables to work with
D = distance from the center of the plane model to the propeller
P = Plane Pitch
Y = Plane Yaw
R = Plane Rotation
How can I take these 4 variables, put them into an equation suitable for a programming language like java and have it spit out X, Y , Z coordinates to place the propeller?
Thank you!