Hi, when I reboot my application making clean() methods below:
display.getRenderer().cleanup();
TextureManager.doTextureCleanup();
TextureManager.clearCache();
// KeyInput.destroyIfInitalized();
GameStateManager.getInstance().cleanup();
scene.detachAllChildren();
mainState.cleanup();
DisplaySystem.getDisplaySystem().getCurrentContext().invalidateStates();
DisplaySystem.getDisplaySystem().close();
and for physicsSpace
physicsSpace.removeAllFromUpdateCallbacks();
physicsSpace.delete();
all restarts correctly but in the ingame there's no physics anymore!
on the console comes up many of this: Geom null deleted on finalisation
I think it does a delete() action on my physicsSpace in the second boot, but why?? who call it??
How can I do?
thanks...(very thanks) ;)