BulletDefaultMotionState (object)¶
The BulletDefaultMotionState provides a common implementation to synchronize world transforms with offsets.
Methods¶
BulletDefaultMotionState ( in BulletDefaultMotionState other ) | |
BulletDefaultMotionState ( in Xfo startTrans ) | |
BulletDefaultMotionState ( in Xfo startTrans, in Xfo centerOfMassOffset ) | |
BulletDefaultMotionState () | |
__construct ! () | |
__constructStartTrans ! ( in Xfo startTrans ) | |
__constructStartTransCenterOfMassOffset ! ( in Xfo startTrans, in Xfo centerOfMassOffset ) | |
__destroy ! () | |
BulletDefaultMotionState | clone ? () |
Xfo | getCenterOfMassOffset ? () |
Xfo | getGraphicsWorldTrans ? () |
Data | getPointer ? () |
Xfo | getStartWorldTrans ? () |
Object | getUserPointer ? () |
getWorldTransform ? ( io Xfo centerOfMassWorldTrans ) | |
setCenterOfMassOffset ! ( in Xfo value ) | |
setGraphicsWorldTrans ! ( in Xfo value ) | |
setStartWorldTrans ! ( in Xfo value ) | |
setUserPointer ! ( in Object value ) | |
setWorldTransform ! ( in Xfo centerOfMassWorldTrans ) | |
~BulletDefaultMotionState () |
Methods in detail¶
BulletDefaultMotionState ( in BulletDefaultMotionState other )
copy constructor
BulletDefaultMotionState ( in Xfo startTrans )
BulletDefaultMotionState ( in Xfo startTrans, in Xfo centerOfMassOffset )
this BulletDefaultMotionState constructor gets created objects from the user, and will not delete those
BulletDefaultMotionState.__construct! ()
BulletDefaultMotionState.__constructStartTrans! ( in Xfo startTrans )
BulletDefaultMotionState.__constructStartTransCenterOfMassOffset! ( in Xfo startTrans, in Xfo centerOfMassOffset )
BulletDefaultMotionState.__destroy! ()
BulletDefaultMotionState BulletDefaultMotionState.clone? ()
clone method
Xfo BulletDefaultMotionState.getCenterOfMassOffset? ()
Xfo BulletDefaultMotionState.getGraphicsWorldTrans? ()
Data BulletDefaultMotionState.getPointer? ()
Xfo BulletDefaultMotionState.getStartWorldTrans? ()
Object BulletDefaultMotionState.getUserPointer? ()
BulletDefaultMotionState.getWorldTransform? ( io Xfo centerOfMassWorldTrans )
synchronizes world transform from user to physics
BulletDefaultMotionState.setCenterOfMassOffset! ( in Xfo value )
BulletDefaultMotionState.setGraphicsWorldTrans! ( in Xfo value )
BulletDefaultMotionState.setStartWorldTrans! ( in Xfo value )
BulletDefaultMotionState.setUserPointer! ( in Object value )
BulletDefaultMotionState.setWorldTransform! ( in Xfo centerOfMassWorldTrans )
synchronizes world transform from physics to user Bullet only calls the update of worldtransform for active objects