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.
|