PDA

View Full Version : node to extract vectors?


rudiHammad
11-21-2011, 03:22 PM
Hi,
Lets say that i have 2 joint chains: jointBaseA, jointEndA (child of joinBaseA) And jointBaseB, jointEndB (child of joinBaseB) I want to extract the vectorA created by jointBaseA, jointEndA and a vectorB by jointBaseB, jointEndB. Then I want to take vectorA and plug it in in the input vector1 of the node angleBetween and take vectorB and plug it in in the input vector2.

So the output of the angleBetween is the angle between the 2 chains. I tried to take the translation data of the jointBase and the jointEnd to put them in plusMinus node with subtract operation, and plus the output of this plusMinus node to the vector1 and vector2...but I am getting wrong vectors, I donīt know why...

To sum up, how can just get the angle between 2 joint chains? Is there
a node to get faster the vectors of the chains?
Cheers

rudiHammad
11-21-2011, 03:55 PM
hi again.
Just wanted to say that they answered that in pymel google groups if anyone wants to check it

CGTalk Moderation
11-21-2011, 03:55 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.