public static Geometry createDebugSphere(AssetManager assetManager) {
        BoundingSphereDebug mesh = new BoundingSphereDebug();
        Geometry geom = new Geometry("BoundingDebug", mesh);
        Material mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
        mat.setBoolean("VertexColor", true);
        mat.getAdditionalRenderState().setWireframe(true);
        geom.setMaterial(mat);
        return geom;
    }
Convenience factory method that creates a debug bounding-sphere geometry

@param assetManager the assetManager
@return the bounding sphere debug geometry.
jme3-core/src/main/java/com/jme3/environment/util/BoundingSphereDebug.java