@Override
    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
        if (space != null) {
            if (enabled && !added) {
                if (spatial != null) {
                    warp(getSpatialTranslation());
                }
                space.addCollisionObject(this);
                added = true;
            } else if (!enabled && added) {
                space.removeCollisionObject(this);
                added = false;
            }
        }
    }
@return returns the spatial the control is added to, or null if the control is not attached to a spatial yet.
jme3-jbullet/src/main/java/com/jme3/bullet/control/CharacterControl.java