The btDefaultMotionState provides a common implementation to synchronize world transforms with offsets. More...
#include <btDefaultMotionState.h>
Public Member Functions | |
btDefaultMotionState (const btTransform &startTrans=btTransform::getIdentity(), const btTransform ¢erOfMassOffset=btTransform::getIdentity()) | |
virtual void | getWorldTransform (btTransform ¢erOfMassWorldTrans) const |
synchronizes world transform from user to physics | |
virtual void | setWorldTransform (const btTransform ¢erOfMassWorldTrans) |
Public Attributes | |
btTransform | m_centerOfMassOffset |
btTransform | m_graphicsWorldTrans |
btTransform | m_startWorldTrans |
void * | m_userPointer |
The btDefaultMotionState provides a common implementation to synchronize world transforms with offsets.
Definition at line 7 of file btDefaultMotionState.h.
btDefaultMotionState::btDefaultMotionState | ( | const btTransform & | startTrans = btTransform::getIdentity() , |
const btTransform & | centerOfMassOffset = btTransform::getIdentity() |
||
) | [inline] |
Definition at line 14 of file btDefaultMotionState.h.
virtual void btDefaultMotionState::getWorldTransform | ( | btTransform & | centerOfMassWorldTrans | ) | const [inline, virtual] |
synchronizes world transform from user to physics
Implements btMotionState.
Definition at line 24 of file btDefaultMotionState.h.
virtual void btDefaultMotionState::setWorldTransform | ( | const btTransform & | centerOfMassWorldTrans | ) | [inline, virtual] |
synchronizes world transform from physics to user Bullet only calls the update of worldtransform for active objects
Implements btMotionState.
Definition at line 31 of file btDefaultMotionState.h.
Definition at line 10 of file btDefaultMotionState.h.
Definition at line 9 of file btDefaultMotionState.h.
Definition at line 11 of file btDefaultMotionState.h.
Definition at line 12 of file btDefaultMotionState.h.