public class BulletGhostObjectDebugControl extends AbstractPhysicsDebugControl
| Modifier and Type | Field and Description |
|---|---|
protected PhysicsGhostObject |
body |
protected com.jme3.scene.Spatial |
geom |
protected com.jme3.math.Vector3f |
location |
protected CollisionShape |
myShape |
protected com.jme3.math.Quaternion |
rotation |
debugAppState| Constructor and Description |
|---|
BulletGhostObjectDebugControl(BulletDebugAppState debugAppState,
PhysicsGhostObject body) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
controlRender(com.jme3.renderer.RenderManager rm,
com.jme3.renderer.ViewPort vp) |
protected void |
controlUpdate(float tpf)
This is called on the physics thread for debug controls
|
void |
setSpatial(com.jme3.scene.Spatial spatial) |
applyPhysicsTransform, applyPhysicsTransformprotected final PhysicsGhostObject body
protected final com.jme3.math.Vector3f location
protected final com.jme3.math.Quaternion rotation
protected CollisionShape myShape
protected com.jme3.scene.Spatial geom
public BulletGhostObjectDebugControl(BulletDebugAppState debugAppState, PhysicsGhostObject body)
public void setSpatial(com.jme3.scene.Spatial spatial)
setSpatial in interface com.jme3.scene.control.ControlsetSpatial in class com.jme3.scene.control.AbstractControlprotected void controlUpdate(float tpf)
AbstractPhysicsDebugControlcontrolUpdate in class AbstractPhysicsDebugControlprotected void controlRender(com.jme3.renderer.RenderManager rm,
com.jme3.renderer.ViewPort vp)
controlRender in class com.jme3.scene.control.AbstractControl