Blender V4.3
btDefaultMotionState.h File Reference
#include "btMotionState.h"

Go to the source code of this file.

Functions

 BT_DECLARE_ALIGNED_ALLOCATOR ()
 
 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)
 

Variables

btDefaultMotionState __pad0__
 The btDefaultMotionState provides a common implementation to synchronize world transforms with offsets.
 
btTransform m_centerOfMassOffset
 
btTransform m_startWorldTrans
 
void * m_userPointer
 

Function Documentation

◆ BT_DECLARE_ALIGNED_ALLOCATOR()

BT_DECLARE_ALIGNED_ALLOCATOR ( )

◆ btDefaultMotionState()

btDefaultMotionState ( const btTransform & startTrans = btTransform::getIdentity(),
const btTransform & centerOfMassOffset = btTransform::getIdentity() )

Definition at line 17 of file btDefaultMotionState.h.

Referenced by RB_body_new().

◆ getWorldTransform()

virtual void getWorldTransform ( btTransform & centerOfMassWorldTrans) const
virtual

synchronizes world transform from user to physics

Definition at line 27 of file btDefaultMotionState.h.

References m_centerOfMassOffset.

◆ setWorldTransform()

virtual void setWorldTransform ( const btTransform & centerOfMassWorldTrans)
virtual

synchronizes world transform from physics to user Bullet only calls the update of worldtransform for active objects

Definition at line 34 of file btDefaultMotionState.h.

References m_centerOfMassOffset.

Variable Documentation

◆ __pad0__

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

Definition at line 8 of file btDefaultMotionState.h.

◆ m_centerOfMassOffset

btTransform m_centerOfMassOffset

Definition at line 11 of file btDefaultMotionState.h.

Referenced by getWorldTransform(), and setWorldTransform().

◆ m_startWorldTrans

btTransform m_startWorldTrans

Definition at line 12 of file btDefaultMotionState.h.

◆ m_userPointer

void* m_userPointer

Definition at line 13 of file btDefaultMotionState.h.