Logo Search packages:      
Sourcecode: blender version File versions  Download package

btDefaultMotionState Struct Reference

#include <btDefaultMotionState.h>

Inheritance diagram for btDefaultMotionState:

btMotionState

List of all members.


Detailed Description

The btDefaultMotionState provides a common implementation to synchronize world transforms with offsets.

Definition at line 5 of file btDefaultMotionState.h.


Public Member Functions

 btDefaultMotionState (const btTransform &startTrans=btTransform::getIdentity(), const btTransform &centerOfMassOffset=btTransform::getIdentity())
virtual void getWorldTransform (btTransform &centerOfMassWorldTrans) const
 synchronizes world transform from user to physics
virtual void setWorldTransform (const btTransform &centerOfMassWorldTrans)

Public Attributes

btTransform m_centerOfMassOffset
btTransform m_graphicsWorldTrans
btTransform m_startWorldTrans
void * m_userPointer

The documentation for this struct was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index