Class DebugShapeFactory

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

public class DebugShapeFactory extends Object
  • Method Details

    • 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 - the CollisionShape to use or null
      Returns:
      a new Spatial or null
    • getDebugMesh

      public static Mesh getDebugMesh(CollisionShape shape)