From 0ed2bd66cd2a83387f64ea5c9971166be21f95a3 Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Wed, 27 Feb 2019 21:08:53 -0800 Subject: [PATCH] WebVRManager: Reset camera rotation when not presenting. --- src/renderers/webvr/WebVRManager.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/renderers/webvr/WebVRManager.js b/src/renderers/webvr/WebVRManager.js index e562cd844e4a05..1c2e05fbb7e904 100644 --- a/src/renderers/webvr/WebVRManager.js +++ b/src/renderers/webvr/WebVRManager.js @@ -237,6 +237,8 @@ function WebVRManager( renderer ) { if ( isPresenting() === false ) { camera.position.set( 0, userHeight, 0 ); + camera.rotation.set( 0, 0, 0 ); + return camera; }