Bullet Collision Detection & Physics Library
|
The btDefaultMotionState provides a common implementation to synchronize world transforms with offsets. More...
#include <btDefaultMotionState.h>
Public Member Functions | |
BT_DECLARE_ALIGNED_ALLOCATOR () | |
btDefaultMotionState (const btTransform &startTrans=btTransform::getIdentity(), const btTransform ¢erOfMassOffset=btTransform::getIdentity()) | |
virtual void | getWorldTransform (btTransform ¢erOfMassWorldTrans) const |
synchronizes world transform from user to physics More... | |
virtual void | setWorldTransform (const btTransform ¢erOfMassWorldTrans) |
synchronizes world transform from physics to user Bullet only calls the update of worldtransform for active objects More... | |
Public Member Functions inherited from btMotionState | |
virtual | ~btMotionState () |
Public Attributes | |
btTransform | m_graphicsWorldTrans |
btTransform | m_centerOfMassOffset |
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.
|
inline |
Definition at line 16 of file btDefaultMotionState.h.
btDefaultMotionState::BT_DECLARE_ALIGNED_ALLOCATOR | ( | ) |
|
inlinevirtual |
synchronizes world transform from user to physics
Implements btMotionState.
Definition at line 26 of file btDefaultMotionState.h.
|
inlinevirtual |
synchronizes world transform from physics to user Bullet only calls the update of worldtransform for active objects
Implements btMotionState.
Definition at line 33 of file btDefaultMotionState.h.
btTransform btDefaultMotionState::m_centerOfMassOffset |
Definition at line 10 of file btDefaultMotionState.h.
btTransform btDefaultMotionState::m_graphicsWorldTrans |
Definition at line 9 of file btDefaultMotionState.h.
btTransform btDefaultMotionState::m_startWorldTrans |
Definition at line 11 of file btDefaultMotionState.h.
void* btDefaultMotionState::m_userPointer |
Definition at line 12 of file btDefaultMotionState.h.