Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Rotation from Vectors

  1. Sep 23, 2009 #1
    Hey all,
    Im hoping this is going in the correct place.

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

    What im 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
  2. jcsd
  3. Sep 23, 2009 #2


    User Avatar
    Science Advisor
    Homework Helper

    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" [Broken] ? :smile:
    Last edited by a moderator: May 4, 2017
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook