Joining Rigid Bodies together

dodgydan2001

07-04-2011 20:04:29

I have a rigid body that i can control with keyboard input, i modify its position and rotation using setWorldTransform and passing in a btTransform.
This works well and the rigid body and mesh move appropriately and collide with other objects as expected.

I'm looking to be able to attach other rigid bodies to the one i can control. I have tried using a P2P constraint, but the attached body is either loose and it flaps about wildly or its pivot is too small and the body is fighting to get outside of the other body.

I'm also considering using a CompoundCollision shape, but i want to be able to rotate the attached rigid bodies at a later point, and i'm not sure how well this would work with that method.


Does anyone else have any ideas or experience with this stuff?