Bone length

Started by ani.tumanyan, April 03, 2013, 11:30:16 PM

Previous topic - Next topic

ani.tumanyan

Hi raft,

Is there a way to get the length of different bones in Bones API?


Ani

raft

have a look at chase's skeleton helper. it has a getBoneDirection method, which you can modify and use. ie: do not normalize the result vector and calculate length of it.

ani.tumanyan

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!

raft

Quote from: ani.tumanyan on April 04, 2013, 09:35:12 PM
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