PDA

View Full Version : How to access bone position


yuenlw
12-17-2006, 10:02 PM
Hi,

I am writing a script and need to access the bones' start and end points.
And also, how do i get the position of each vertex in a skin?

I need this info to use as parameters in a function to calculate the distance between a vertex and a bone.

Thanx

-edit-

I already find out how to get the vertex positions but i am having trouble with the bones. I thought i could use skinops.getStartPoint and skinops.getEndPoint, but they don't seem to be returning the right position of the bones.

yuenlw
12-19-2006, 05:59 AM
Hi all,

Nevermind, a friend and i figured it out already.

Thanx anyway

CGTalk Moderation
12-19-2006, 05:59 AM
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.