Home
last modified time | relevance | path

Searched refs:debugShape (Results 1 – 12 of 12) sorted by relevance

/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/
DPhysicsCollisionObject.java55 protected Spatial debugShape; field in PhysicsCollisionObject
201 public Spatial debugShape() { in debugShape() method in PhysicsCollisionObject
202 return debugShape; in debugShape()
211 if (debugShape != null) { in attachDebugShape()
215 this.debugShape = spatial; in attachDebugShape()
216 return debugShape; in attachDebugShape()
220 if (debugShape != null) { in updateDebugShape()
252 debugShape = null; in detachDebugShape()
274 capsule.write(debugShape, "debugShape", null); in write()
283 debugShape = (Spatial) capsule.readSavable("debugShape", null); in read()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/
DPhysicsCollisionObject.java58 protected Spatial debugShape; field in PhysicsCollisionObject
221 public Spatial debugShape() { in debugShape() method in PhysicsCollisionObject
222 return debugShape; in debugShape()
231 if (debugShape != null) { in attachDebugShape()
235 this.debugShape = spatial; in attachDebugShape()
236 return debugShape; in attachDebugShape()
240 if (debugShape != null) { in updateDebugShape()
272 debugShape = null; in detachDebugShape()
302 capsule.write(debugShape, "debugShape", null); in write()
311 debugShape = (Spatial) capsule.readSavable("debugShape", null); in read()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/util/
DDebugShapeFactory.java68 Spatial debugShape; in getDebugShape() local
93 debugShape = node; in getDebugShape()
95 debugShape = createDebugShape(collisionShape); in getDebugShape()
97 if (debugShape == null) { in getDebugShape()
100 debugShape.updateGeometricState(); in getDebugShape()
101 return debugShape; in getDebugShape()
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/
DGhostControl.java129 if (debugShape == null) { in render()
132 debugShape.setLocalTranslation(spatial.getWorldTranslation()); in render()
133 debugShape.setLocalRotation(spatial.getWorldRotation()); in render()
134 debugShape.updateLogicalState(0); in render()
135 debugShape.updateGeometricState(); in render()
136 rm.renderScene(debugShape, vp); in render()
DVehicleControl.java191 if (debugShape == null) { in render()
194 Node debugNode = (Node) debugShape; in render()
195 debugShape.setLocalTranslation(spatial.getWorldTranslation()); in render()
196 debugShape.setLocalRotation(spatial.getWorldRotation()); in render()
225 debugShape.updateLogicalState(0); in render()
226 debugShape.updateGeometricState(); in render()
227 rm.renderScene(debugShape, vp); in render()
DRigidBodyControl.java214 if (debugShape == null) { in render()
218 debugShape.setLocalTranslation(spatial.getWorldTranslation()); in render()
219 debugShape.setLocalRotation(spatial.getWorldRotation()); in render()
220 debugShape.updateLogicalState(0); in render()
221 debugShape.updateGeometricState(); in render()
222 rm.renderScene(debugShape, vp); in render()
DCharacterControl.java156 if (debugShape == null) { in render()
159 debugShape.setLocalTranslation(getPhysicsLocation()); in render()
160 debugShape.updateLogicalState(0); in render()
161 debugShape.updateGeometricState(); in render()
162 rm.renderScene(debugShape, vp); in render()
DKinematicRagdollControl.java558 Spatial debugShape = physicsBoneLink.rigidBody.debugShape(); in render() local
559 if (debugShape != null) { in render()
560debugShape.setLocalTranslation(physicsBoneLink.rigidBody.getMotionState().getWorldLocation()); in render()
561debugShape.setLocalRotation(physicsBoneLink.rigidBody.getMotionState().getWorldRotationQuat()); in render()
562 debugShape.updateGeometricState(); in render()
563 rm.renderScene(debugShape, vp); in render()
/external/jmonkeyengine/engine/src/test/jme3test/bullet/
DPhysicsHoverControl.java180 if (debugShape == null) { in render()
183 debugShape.setLocalTranslation(motionState.getWorldLocation()); in render()
184 debugShape.setLocalRotation(motionState.getWorldRotation()); in render()
185 debugShape.updateLogicalState(0); in render()
186 debugShape.updateGeometricState(); in render()
187 rm.renderScene(debugShape, vp); in render()
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/
DDebugShapeFactory.java77 Spatial debugShape; in getDebugShape() local
103 debugShape = node; in getDebugShape()
105 debugShape = createDebugShape(collisionShape); in getDebugShape()
107 if (debugShape == null) { in getDebugShape()
110 debugShape.updateGeometricState(); in getDebugShape()
111 return debugShape; in getDebugShape()
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/
DPhysicsVehicle.java182 if (debugShape != null) { in addWheel()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/
DPhysicsVehicle.java193 if (debugShape != null) { in addWheel()