if(controllerList.contains(spatial)) { controllerList.remove(spatial);
for(int i = 0; i < spatial.getControllers().size(); i++) { if(spatial.getController(i) instanceof LightStateController) { if(controllerList.contains(spatial.getController(i))) { controllerList.remove(spatial.getController(i)); } }
    public static void removeSpatial(Spatial spatial) {        if(controllerList.contains(spatial)) {            controllerList.remove(spatial);        }    }