Update the location of an object in simpleUpdate()

excuse me !!!



it my first forum post !



i'm going insane to move an object



i try

Forgive the thought, but based on your post I'm going to say it probably has to do with some mistyped code.



I would suggest you take a look at the example code in the jME project and go based on that as a guide to start over.  Take it one step at a time and make sure it works.  That is one of the benefits of the SimpleGame is it's practically ready to go out of the box without any code from you.  Verify that works and then start adding to it testing as you go to make sure it is consistently working.  If you finally get to the point where there is a NullPointerException then take a look at what you just added and determine why that caused it.



darkfrog

1 Like