www.jpct.net
Bones - Skeletal and Pose Animations for jPCT/jPCT-AE => Bones => Topic started by: ani.tumanyan on April 03, 2013, 11:30:16 pm
-
Hi raft,
Is there a way to get the length of different bones in Bones API?
Ani
-
have a look at chase's skeleton helper (http://www.jpct.net/forum2/index.php/topic,3300.0.html). it has a getBoneDirection method, which you can modify and use. ie: do not normalize the result vector and calculate length of it.
-
Thanks raft so much! This is wonderful :).
Another question popped up. When I'm galling getTranslation() function, in which units are those numbers? Are they meters, centimeters or even worse pixels?
Thanks again for your help!
-
Another question popped up. When I'm galling getTranslation() function, in which units are those numbers? Are they meters, centimeters or even worse pixels
neither one. they are in world units. that means they are in whatever size they are modelled in 3d editor