com.jme3.bullet.util
Class DebugShapeFactory

java.lang.Object
  extended by com.jme3.bullet.util.DebugShapeFactory

public class DebugShapeFactory
extends java.lang.Object


Constructor Summary
DebugShapeFactory()
           
 
Method Summary
static Mesh getDebugMesh(CollisionShape shape)
           
static Spatial getDebugShape(CollisionShape collisionShape)
          Creates a debug shape from the given collision shape.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugShapeFactory

public DebugShapeFactory()
Method Detail

getDebugShape

public static Spatial getDebugShape(CollisionShape collisionShape)
Creates a debug shape from the given collision shape. This is mostly used internally.
To attach a debug shape to a physics object, call attachDebugShape(AssetManager manager); on it.

Parameters:
collisionShape -
Returns:

getDebugMesh

public static Mesh getDebugMesh(CollisionShape shape)