View Single Post
Old 26th May 2014, 02:34 PM   #12
jentron
Senior Member
Professional user
 
Join Date: Nov 2007
Posts: 139
Default Re: Getting the angle vectors ?

Quote:
Originally Posted by Stiglr View Post
I've done the edit, but I'm not sure I'm getting the right results (or what I'm expecting to see).

0.995928 0.00242298 -0.0901201 (I'm assuming this is in X,Y,Z order)

None of these values is anywhere near 5 degrees (presumably this should be in the Y (nose to tail axis). The first value is basically one degree, the others are very close to "straight", as is indicated by the position of the part.
Haven't read the thread too deeply, but what you're seeing here is:

x = cos(-5 degrees) = 0.996
y ignored since this is the axis you want. If it were large we'd have to set it to zero and re-normalize the vector.
z = sin(-5 degrees) =-0.087

Ron
jentron is offline   Reply With Quote