View Single Post
Old 15th June 2009, 09:58 PM   #4
lisa
Senior Member
Professional user
 
lisa's Avatar
 
Join Date: Mar 2005
Location: Phoenix, AZ
Posts: 917
Default Re: Bones and joints

Are you writing your own plugins?

To get the pivots (joint centers), you'll want:
ac_object_get_centre(pObject)

To get the hierarchy, which you can use to join things together and make your own skeleton:
ac_object_get_childrenlist(pObject)
ac_object_get_num_children(pObject)

My own plugins work that way, I set the joint center using the object center, and then determine the bones by locating the parent object and building the skeleton that way. I believe X-Plane and some of the others do something similar.
lisa is offline   Reply With Quote