How can I use vectors and trig functions to find rotations for alignment?

  • Thread starter Thread starter onegun
  • Start date Start date
  • Tags Tags
    Rotation Vectors
onegun
Messages
1
Reaction score
0
Hey all,
Im hoping this is going in the correct place.

Im actually working on a script and realized that I've forgotten a majority of the calculus and other math i once knew :)

What I am trying to do is write a script where i query the surface normal of an object and find the rotations to align another vector to that normal.

Looking through, i found references to direction cosines and using other trig/inverse trig functions to do this, but they arent returning the results i need.

Any suggestions/advice would be greatly appreciated.

Thanks Guys
 
Physics news on Phys.org
Welcome to PF!

Hey onegun! Welcome to PF! :wink:

I'm not sure what you're trying to do …

but does this help … http://en.wikipedia.org/wiki/Euler_angles" ? :smile:
 
Last edited by a moderator:
Back
Top