So I’m getting an exception that my state has been changed and that the scene graph is not properly updated for rendering so here’s my question:
I have an AppState called InGameAppState, a SimpleApplication callled MyICGame and a class called playerspaceship. In my appstate I called rootNode’s addChild method in several different methods, not only in update but only in the appstate class. PlayerSpaceship has a spatial and the spatial has a rigid body control. In playerspaceship I have methods to move the spatial using the rigidbodycontrol, with the playespaceship methods being called from ingamestate. Finally, MYICGame initializes the AppState and it does this properly. So what exactly am I doing wrong?