public void setMotionAllowedListener(MotionAllowedListener listener){
        this.motionAllowed = listener;
    }
Sets the up vector that should be used for the camera.

@param upVec the desired direction (not null, unaffected)
jme3-core/src/main/java/com/jme3/input/FlyByCamera.java