>
> the 'angleBetween' gives you the angle you should rotate vector 1 to so 
> that it aligns perfectly with vector 2. In my example vector 1 can only 
> partially point in the direction of vector 2 because its only allowed to 
> rotate around a specific axis (in my example (0,1,0))
>

see it like vector 1 is the metal arm on a compass and vector 2 is 
magnetically pulling it in its direction. But obviously the compass arm 
cannot leave its axis, but it still points in the direction of vector 2 as 
much as it can within its circle of rotation. The other vector maybe 
pointing anywhere. I just need a formula that will calculate how many 
degrees the compass arm needs to rotate to be pointing at vector 2 (within 
its axis).

does this make more sense?
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/3f75e3e2-9b9c-4b52-8ef9-6e60c48d026a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to