I created two bodies in space, and linked them by a btHingeConstraint. I can retrieve the position and rotation of the actual bodies to render using:
Code: Select all
box1RigidBody->getMotionState()->getWorldTransform( trans );
Relatedly, is there a difference between getAFrame and getFrameAOffset?
Thanks