Strange problem with LocalRotation

I’m going mad with my jme application, i tried and tried but didn’t got it working… Please help.



I have this scene:







In my orignal app, this white cube is a spaceship.

It has a direction it faces and an independent velocity vector.

You can turn it to any direction and then press “accelerate”.

The acceleration constant is added in a vectorial way, so, if you want to recude your speed, you have to rotate by 180