com.bulletphysics.linearmath
Interface MotionState

All Known Implementing Classes:
DefaultMotionState

public interface MotionState

MotionState allows the dynamics world to synchronize the updated world transforms with graphics. For optimizations, potentially only moving objects get synchronized (using setWorldTransform method).


Method Summary
 Transform getWorldTransform(Transform out)
          Returns world transform.
 void setWorldTransform(Transform worldTrans)
          Sets world transform.
 

Method Detail

getWorldTransform

Transform getWorldTransform(Transform out)
Returns world transform.


setWorldTransform

void setWorldTransform(Transform worldTrans)
Sets world transform. This method is called by JBullet whenever an active object represented by this MotionState is moved or rotated.