protected void riseCamera(float value) {
        Vector3f vel = initialUpVec.mult(value * moveSpeed);
        Vector3f pos = cam.getLocation().clone();

        if (motionAllowed != null)
            motionAllowed.checkMotionAllowed(pos, vel);
        else
            pos.addLocal(vel);

        cam.setLocation(pos);
    }
Translate the camera upward by the specified amount.

@param value translation amount
jme3-core/src/main/java/com/jme3/input/FlyByCamera.java