MinieExamples/src/main/java/jme3utilities/minie/test/TargetDemo.java
/**
     * Delete the selected rigid body, if any.
     */
Delete the selected rigid body, if any.
Delete the selected rigid body if any .
private void deleteSelected() {
        if (selectedBody != null) {
            getPhysicsSpace().removeCollisionObject(selectedBody);
            selectBody(null);
            activateAll();
        }
    }
private void deleteSelected ( ) { if ( selectedBody != null ) { getPhysicsSpace ( ) . removeCollisionObject ( selectedBody ) ; selectBody ( null ) ; activateAll ( ) ; } }
Delete the selected rigid body, if any.
Delete the selected rigid body if any .