NullPointerException With BulletAppState

Could you tell me where I can learn how to do AbstractAppState(s) for my program.

I don’t like the Nifty gui, I want to know if one can do any type of graphical interface without using Nifty Gui xml and use it as an AbstractAppState?

I need a nice tutorial.

Check out the wiki:

http://wiki.jmonkeyengine.org/doku.php/jme3:intermediate:best_practices
http://wiki.jmonkeyengine.org/doku.php/jme3:advanced:application_states
http://wiki.jmonkeyengine.org/doku.php/documentation?do=search&id=gui

etc.

Why am I getting these messages:

Total   heap memory held: 73843kb
Only heap memory available, if you want to monitor direct memory use BufferUtils.setTrackDirectMemoryEnabled(true) during initialization.

Total   heap memory held: 76475kb
Only heap memory available, if you want to monitor direct memory use BufferUtils.setTrackDirectMemoryEnabled(true) during initialization.

Total   heap memory held: 76475kb
Only heap memory available, if you want to monitor direct memory use BufferUtils.setTrackDirectMemoryEnabled(true) during initialization.

Because some part of your app calls BufferUtils.printCurrentDirectMemory ?

do I have to call it first and set it to True to enable it ?

I think I got the problem solve…I was not calling appState.cleanup() before detaching the state from the stateManager.

You don’t have to (and should not) do that, its called when you detach the AppState, just as you don’t have to (and should not) call the update method of an AppState. And start reading the javadoc of the methods you use!! Both of these methods say exactly that.

if you want to get a mesh for a String characters like “This String Message” do you have to build each character mesh in Blender and then add them as j3o objects in your program?

Or is there another way.

Yes but please do make new topics for new questions else this is nothing but me helping you (for which I normally charge) instead of creating a database of questions and answers everybody can search though.

sorry I will post a new topic for font question

I answered that question though…