hi guys, 

i know how to use the angleBetween command to find the angle between two 
vectors, and then use the rotateBy method to rotate one vector to align with 
the other. My problem is though, imagine that the first vector has its freedom 
of movement limited by an axis, so all it can do is rotate along a particular 
plane. 

Is there a way of finding that angle to rotate the first vector to so that it 
is pointing in the direction of the second vector, but restricted by its axis.

hope this makes sense
thanks, 
Sam

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/888778fe-c9d8-41a4-b344-5c2d24345b42%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to