Problem in TestPhysicsCharacter.Java
When I runs this file, the character (Sinbad) keeps on moving to the left side of scene without stopping
I had this problem before, and the simple solution for me was to add these two lines
physicsCharacter.setGravity(new Vector3f(0,-10,0));
physicsCharacter.setPhysicsLocation(new Vector3f(0, 10, 0));
The setGravity is what you truly need, but the setPhysicsLocation is so Sinbad isn’t inside the ground.
1 Like
Oh thanks a bunch man !