public abstract class AbstractPhysicsDebugControl extends AbstractControl
This class is shared between JBullet and Native Bullet.
| Modifier and Type | Field and Description | 
|---|---|
protected BulletDebugAppState | 
debugAppState
the app state that this control serves 
 | 
enabled, spatial| Constructor and Description | 
|---|
AbstractPhysicsDebugControl(BulletDebugAppState debugAppState)
Instantiate an enabled control to serve the specified debug app state. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
applyPhysicsTransform(Vector3f worldLocation,
                     Quaternion worldRotation)
Apply the specified location and orientation to the controlled spatial. 
 | 
protected void | 
applyPhysicsTransform(Vector3f worldLocation,
                     Quaternion worldRotation,
                     Spatial spatial)
Apply the specified location and orientation to the specified spatial. 
 | 
protected abstract void | 
controlUpdate(float tpf)
This is called on the physics thread for debug controls 
 | 
cloneFields, cloneForSpatial, controlRender, getSpatial, isEnabled, jmeClone, read, render, setEnabled, setSpatial, update, writeprotected final BulletDebugAppState debugAppState
public AbstractPhysicsDebugControl(BulletDebugAppState debugAppState)
debugAppState - which app state (not null, alias created)protected abstract void controlUpdate(float tpf)
controlUpdate in class AbstractControlprotected void applyPhysicsTransform(Vector3f worldLocation, Quaternion worldRotation)
worldLocation - location vector (in physics-space coordinates, not
 null, unaffected)worldRotation - orientation (in physics-space coordinates, not null,
 unaffected)protected void applyPhysicsTransform(Vector3f worldLocation, Quaternion worldRotation, Spatial spatial)
worldLocation - location vector (in physics-space coordinates, not
 null, unaffected)worldRotation - orientation (in physics-space coordinates, not null,
 unaffected)spatial - where to apply (may be null)