Package com.jme3.bullet.util
Class DebugShapeFactory
java.lang.Object
com.jme3.bullet.util.DebugShapeFactory
-
Method Summary
Modifier and TypeMethodDescriptionstatic Mesh
getDebugMesh
(CollisionShape shape) static Spatial
getDebugShape
(CollisionShape collisionShape) Creates a debug shape from the given collision shape.
-
Method Details
-
getDebugShape
Creates a debug shape from the given collision shape. This is mostly used internally.
To attach a debug shape to a physics object, callattachDebugShape(AssetManager manager);
on it.- Parameters:
collisionShape
- the CollisionShape to use or null- Returns:
- a new Spatial or null
-
getDebugMesh
-