David Catuhe 8 anos atrás
pai
commit
be87c16178
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/Cameras/VR/babylon.webVRCamera.ts

+ 1 - 1
src/Cameras/VR/babylon.webVRCamera.ts

@@ -215,7 +215,7 @@ module BABYLON {
         };
 
         public getForwardRay(length = 100): Ray {
-            var m = this.leftCamera.getWorldMatrix();
+            var m = this.leftCamera.getWorldMatrix(); // Need the actual rendered camera
 
             var origin = this.position.add(this.devicePosition);