public Quaternion getFinalObserverRotation() {
        if( environment.getVRViewManager() == null ) {
            if( environment.getObserver() == null ) {
                return environment.getCamera().getRotation();
            } else {
                return ((Spatial)environment.getObserver()).getWorldRotation();
            }
        }

        if( environment.getObserver() == null ) {
            tempq.set(environment.getDummyCamera().getRotation());
        } else {
            tempq.set(((Spatial)environment.getObserver()).getWorldRotation());
        }
        return tempq.multLocal(environment.getVRHardware().getOrientation());
    }
Get the observer final rotation within the scene.
@return the observer final rotation within the scene.
@see #getFinalObserverPosition()
jme3-vr/src/main/java/com/jme3/app/VRAppState.java