# WebXR Camera is inverted when used with scene.useRightHandedSystem = true

**URL:** <https://forum.babylonjs.com/t/webxr-camera-is-inverted-when-used-with-scene-userighthandedsystem-true/38672>\
**Category:** Questions\
**Tags:** webxr, xr\
**Created:** [March 2, 2023, 10:18am UTC](https://forum.babylonjs.com/t/webxr-camera-is-inverted-when-used-with-scene-userighthandedsystem-true/38672 "2023-03-02T10:18:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ketan\_Bhokray](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/ketan_bhokray/32/24995_2.png) [@Ketan\_Bhokray](https://forum.babylonjs.com/u/Ketan_Bhokray)\
**Post date:** [March 2, 2023, 10:18am UTC](https://forum.babylonjs.com/t/webxr-camera-is-inverted-when-used-with-scene-userighthandedsystem-true/38672/1 "2023-03-02T10:18:29Z")

</div>

Hello!

I’m working on a use-case to show a scene in VR. The scene has `useRightHandedSystem` set to `true`. Now, the camera movement works as expected for a non-XR camera, but the vertical direction seems to be inverted in a WebXRCamera. When I look up, it shows the bottom of the scene and when I look down, the top of the scene comes into view.

The behavior is the same in Oculus Quest 2 device as well as when using the browser WebXR Emulator. Playground below:

> **[Babylon.js Playground](https://playground.babylonjs.com/#ZGFJK2%234)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

This was working correctly earlier. The change seems to have come in with [this commit](https://github.com/BabylonJS/Babylon.js/commit/7ba03665f22dc0488e9cbfcc668ce7fed9bcd3d9) in webXRCamera.ts. Is this expected ? If yes, how can I make the WebXRCamera vertical movement “normal” again ? I unfortunately cannot set `useRightHandedSystem` to `false` since it will break the GLTF models in my scene.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [March 2, 2023, 1:05pm UTC](https://forum.babylonjs.com/t/webxr-camera-is-inverted-when-used-with-scene-userighthandedsystem-true/38672/2 "2023-03-02T13:05:09Z")

</div>

cc @RaananW

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [March 2, 2023, 1:49pm UTC](https://forum.babylonjs.com/t/webxr-camera-is-inverted-when-used-with-scene-userighthandedsystem-true/38672/3 "2023-03-02T13:49:16Z")

</div>

i’ll have to debug that. thanks for reporting!

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [March 2, 2023, 1:49pm UTC](https://forum.babylonjs.com/t/webxr-camera-is-inverted-when-used-with-scene-userighthandedsystem-true/38672/4 "2023-03-02T13:49:21Z")

</div>

Assigned @RaananW on March 2, 2023, 1:49pm UTC



---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [March 14, 2023, 12:42pm UTC](https://forum.babylonjs.com/t/webxr-camera-is-inverted-when-used-with-scene-userighthandedsystem-true/38672/5 "2023-03-14T12:42:18Z")

</div>

This was fixed in the last release

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [March 14, 2023, 12:42pm UTC](https://forum.babylonjs.com/t/webxr-camera-is-inverted-when-used-with-scene-userighthandedsystem-true/38672/6 "2023-03-14T12:42:21Z")

</div>

Unassigned @RaananW on March 14, 2023, 12:42pm UTC


