Move around

I took a FPSHandler to move my cam around:

   FirstPersonHandler fpHandler = new FirstPersonHandler(cam, 70, 0.5f);
        fpHandler.getKeyboardLookHandler().setEnabled(true);
        fpHandler.getMouseLookHandler().setEnabled(true);
        input = fpHandler;



But how I can deactivate the arrow keys, so that I only have the mouseListener and the keylistener for moving around(w, a, s, d)??  thx

You can remove the bindings from the KeyBindingManager:


KeyBindingManager.getKeyBindingManager().remove("lookUp");
KeyBindingManager.getKeyBindingManager().remove("lookDown");
KeyBindingManager.getKeyBindingManager().remove("turnRight");
KeyBindingManager.getKeyBindingManager().remove("turnLeft");


Ok…thx  :slight_smile: I have another question. How can I "block" the y axis of the cam, so i can't move up or down (the cam should stay on the ground). Any ideas?