private static Geometry createDebugShape(CollisionShape shape) {
        Geometry geom = new Geometry();
        geom.setMesh(DebugShapeFactory.getDebugMesh(shape));
//        geom.setLocalScale(shape.getScale());
        geom.updateModelBound();
        return geom;
    }
Creates a debug shape from the given collision shape. This is mostly used internally.<br>
To attach a debug shape to a physics object, call <code>attachDebugShape(AssetManager manager);</code> on it.

@param collisionShape the CollisionShape to use or null
@return a new Spatial or null
jme3-jbullet/src/main/java/com/jme3/bullet/util/DebugShapeFactory.java