@Override
    public void onAction(String binding, boolean value, float tpf) {
        if (binding.equals("Lefts")) {
            hoverControl.steer(value ? 50f : 0);
        } else if (binding.equals("Rights")) {
            hoverControl.steer(value ? -50f : 0);
        } else if (binding.equals("Ups")) {
            hoverControl.accelerate(value ? 100f : 0);
        } else if (binding.equals("Downs")) {
            hoverControl.accelerate(value ? -100f : 0);
        } else if (binding.equals("Reset")) {
            if (value) {
                System.out.println("Reset");
                hoverControl.setPhysicsLocation(startLocation);
                hoverControl.setPhysicsRotation(startOrientation);
                hoverControl.setAngularVelocity(Vector3f.ZERO);
                hoverControl.setLinearVelocity(Vector3f.ZERO);
                hoverControl.clearForces();
            } else {
            }
        } else if (binding.equals("Space") && value) {
            makeMissile();
        }
    }
initial orientation of the tank (in world/physics-space coordinates)
jme3-examples/src/main/java/jme3test/bullet/TestHoveringTank.java