public boolean removeFromParent() {
        if (parent != null) {
            parent.detachChild(this);
            return true;
        }
        return false;
    }
<code>removeFromParent</code> removes this Spatial from its parent.

@return true if it has a parent and performed the remove.
jme3-core/src/main/java/com/jme3/scene/Spatial.java