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 setWorldPosition/setWorldOrientation).
getWorldTransform
void getWorldTransform(Transform worldTrans)
setWorldTransform
void setWorldTransform(Transform worldTrans)
- Note: Bullet only calls the update of worldtransform for active objects.