I'm developing a ragdoll simulation in Ogre using a series of btCapsuleShapes as the bones. I've been able to succesfully construct the bone hierarchy from an Ogre::Skeleton, however I've been unable to find the correct method of connecting them. Bullet's ragdoll sample hasn't been very helpful, with all the data being hard-coded magic numbers, with no comments indicating how the values were arrived at.
My question is, what do the rbAFrame and rbBFrame values in the constructor of btConeTwistConstraint represent?
btConeTwistConstraint rbAFrame and rbBFrame?
-
Erwin Coumans
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: btConeTwistConstraint rbAFrame and rbBFrame?
They are the constraint frames (constraint attachments / pivot coordinates) in local space of each body.Sauce wrote: My question is, what do the rbAFrame and rbBFrame values in the constructor of btConeTwistConstraint represent?
Thanks,
Erwin