Question

I'm new to jMonkeyEngine so I hope my question is not too much stupid. I followed this tutorial step by step : http://hub.jmonkeyengine.org/wiki/doku.php/jme3:beginner:hello_simpleapplication

But unfortunately, when I tested the key arrows, I found out that the left key arrow brings me at right, the top one to the bottom,...

How can I fix this? Otherwise, how can I configure the key arrows and the mouse to move to the right direction?

Thank you

Was it helpful?

Solution

Your mouse and keyboard control the camera, not objects in the scene (by default at least). This makes a lot more sense when there is more than one object in the scene, a street for example.

When you press up you move the camera upwards; as a result all objects in the scene appear to go downwards. The same for all the other directions

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top