Help with getNodeTransform? Please? :)
by Josh Albrecht · in Torque Game Engine · 08/31/2001 (8:51 am) · 4 replies
Is this right:
transform = pPlayer->getNodeTransform("Bip01 Pelvis");
It should return a transformation matrix to transform, right? Now how do I use this? What is it? I dont know much about how to use matrices, or how they are normally used. I only know how to do stuff like multiply them (from math class.. :)
I am trying to get a box of my specified dimensions around a limb on a player model (so I can check for collision), and I think this function will get the job done. Is it the most efficient way? Is there a better way? Does it matter?
On a related note, how would I assign my dimensions to a Box3F variable?
Thanks for any help! Or even for reading my thread, because my threads like this seem to sometimes go unaswered... :)
transform = pPlayer->getNodeTransform("Bip01 Pelvis");
It should return a transformation matrix to transform, right? Now how do I use this? What is it? I dont know much about how to use matrices, or how they are normally used. I only know how to do stuff like multiply them (from math class.. :)
I am trying to get a box of my specified dimensions around a limb on a player model (so I can check for collision), and I think this function will get the job done. Is it the most efficient way? Is there a better way? Does it matter?
On a related note, how would I assign my dimensions to a Box3F variable?
Thanks for any help! Or even for reading my thread, because my threads like this seem to sometimes go unaswered... :)
#2
08/31/2001 (10:46 pm)
Just a nudge, but if you get the answer to one of your questions via means outside the forums, maybe you could post the answer here for the rest of us ... ?
#3
11/20/2001 (8:53 pm)
No shit. That sucks
#4
01/18/2005 (7:14 am)
Yes pls do tell the answer as i am having a similar problem
Torque Owner Josh Albrecht