Because of some previous issues with jme physics 2 I couldn't seem to get collison working until i arranged the classes based on the below method in which i receive the rootNode as well as a couple of other variables from the DefineGameState(which extends physicsGameState) the issue i'm having is that because i did it this way for some odd reason no matter if its set active or inactive they still show. It only shows a black screen when the DefineGameState is set inactive any advice?
StandardGame standardGame = new StandardGame("GameControl", StandardGame.GameType.GRAPHICAL, null);
standardGame.start();
final DefineGameState base = new DefineGameState("base");
base.setActive(true);
try {
//SkyBoxGameState.Manager().setActive(true);
CopyOfCopyOflevelTester nex = new CopyOfCopyOflevelTester(0,0, base);
nex.setActive(true);
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
Charactertype Avenger = new Charactertype("robot",base);
Avenger.setActive(true);