ok so what is a good class to use to get the input from the keyboard?

ive looked at the KeyInput class but its an abstract class and almost all the methods are abstract so i cant use it.

Are you using jME2 or jME3?


You can use KeyInput.get() to get an implementation.

uhhhh could u explane that

Edit: ok so i just downloaded jME3 so im going to go poke around in that for a bit :stuck_out_tongue:

The jME2 input system is a bit complicated, but you can still use the class KeyInput easily. You can set add a listener to receive key press/release events.

You should also check the wiki for tutorials regarding how to use the input system for both jme2 and jme3.