public class BulletJointDebugControl extends AbstractPhysicsDebugControl
| Modifier and Type | Field and Description |
|---|---|
protected com.jme3.math.Transform |
a |
protected com.jme3.scene.debug.Arrow |
arrowA |
protected com.jme3.scene.debug.Arrow |
arrowB |
protected com.jme3.math.Transform |
b |
protected PhysicsJoint |
body |
protected com.jme3.scene.Geometry |
geomA |
protected com.jme3.scene.Geometry |
geomB |
protected com.jme3.math.Vector3f |
offA |
protected com.jme3.math.Vector3f |
offB |
debugAppState| Constructor and Description |
|---|
BulletJointDebugControl(BulletDebugAppState debugAppState,
PhysicsJoint 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 PhysicsJoint body
protected final com.jme3.scene.Geometry geomA
protected final com.jme3.scene.debug.Arrow arrowA
protected final com.jme3.scene.Geometry geomB
protected final com.jme3.scene.debug.Arrow arrowB
protected final com.jme3.math.Transform a
protected final com.jme3.math.Transform b
protected final com.jme3.math.Vector3f offA
protected final com.jme3.math.Vector3f offB
public BulletJointDebugControl(BulletDebugAppState debugAppState, PhysicsJoint 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