# In VR mode, the model shake. I don't know what causes it

**URL:** <https://forum.babylonjs.com/t/in-vr-mode-the-model-shake-i-dont-know-what-causes-it/41439>\
**Category:** Questions\
**Tags:** vr\
**Created:** [June 7, 2023, 2:59am UTC](https://forum.babylonjs.com/t/in-vr-mode-the-model-shake-i-dont-know-what-causes-it/41439 "2023-06-07T02:59:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![pxim](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pxim/32/26372_2.png) [@pxim](https://forum.babylonjs.com/u/pxim)\
**Post date:** [June 7, 2023, 2:59am UTC](https://forum.babylonjs.com/t/in-vr-mode-the-model-shake-i-dont-know-what-causes-it/41439/1 "2023-06-07T02:59:08Z")

</div>

DEMO: [闸阀 VR虚拟仿真拆装](https://res.91yunlifang.com/caselib/7dd98573-5176-48c7-8ea9-e68e58017042-resfile/index.html)  
VR Device: PICO NEO 3

Normal in normal mode.  
But, In VR mode, the model shake.  
I don’t know what causes it.

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/3/f/3f00e76c0e0550244a0de5e79246fdc5057bd238.jpeg)

```
"@babylonjs/accessibility": "^6.3.1",
"@babylonjs/core": "^6.3.1",
"@babylonjs/gui": "^6.3.1",
"@babylonjs/gui-editor": "^6.3.1",
"@babylonjs/havok": "^1.0.1",
"@babylonjs/inspector": "^6.3.1",
"@babylonjs/loaders": "^6.3.1",
"@babylonjs/materials": "^6.3.1",
"@babylonjs/node-editor": "^6.3.1",
"@babylonjs/post-processes": "^6.3.1",
"@babylonjs/procedural-textures": "^6.3.1",
"@babylonjs/serializers": "^6.3.1",
"@babylonjs/shared-ui-components": "^6.3.1",
"@babylonjs/viewer": "^6.3.1",

```

---

<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:** [June 7, 2023, 11:52am UTC](https://forum.babylonjs.com/t/in-vr-mode-the-model-shake-i-dont-know-what-causes-it/41439/2 "2023-06-07T11:52:41Z")

</div>

i can’t seem to reproduce. There is aliasing issue, but this is a general issue when entering an XR session, especially in low-res devices.  
Also, the performance is not the best, which makes it hard to enjoy the immersive session. You could try simplifying the meshes, or maybe make complex meshes not pickable to prevent the pointermove pick calculations

What exactly do you see?

---

<div class="post-metadata">

**Author:** ![pxim](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pxim/32/26372_2.png) [@pxim](https://forum.babylonjs.com/u/pxim)\
**Post date:** [June 12, 2023, 9:13am UTC](https://forum.babylonjs.com/t/in-vr-mode-the-model-shake-i-dont-know-what-causes-it/41439/3 "2023-06-12T09:13:44Z")

</div>

Thanks.

This device has 4K high-definition screen resolution. VR Device: [PICO NEO 3](https://www.picoxr.com/cn/neo3/)

This is a demonstration, without pick.  
DEMO：[https://playground.babylonjs.com/#ABDDD6#57](https://playground.babylonjs.com/#ABDDD6#57)

[https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/4/3/43540dce03f348e386bbe6b5f154b8aecf7b5ead.mp4](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/4/3/43540dce03f348e386bbe6b5f154b8aecf7b5ead.mp4)

Like this, in vr mode, I keep still, but the picture keeps shaking, especially where the outline is.

---

<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:** [June 12, 2023, 12:23pm UTC](https://forum.babylonjs.com/t/in-vr-mode-the-model-shake-i-dont-know-what-causes-it/41439/4 "2023-06-12T12:23:41Z")

</div>

It seems to me like it is rendering correctly, but i’ll try it in different devices and let you know.

---

<div class="post-metadata">

**Author:** ![pxim](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pxim/32/26372_2.png) [@pxim](https://forum.babylonjs.com/u/pxim)\
**Post date:** [June 13, 2023, 12:40am UTC](https://forum.babylonjs.com/t/in-vr-mode-the-model-shake-i-dont-know-what-causes-it/41439/5 "2023-06-13T00:40:56Z")

</div>

alright,  
thank you very much.

---

<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:** [June 13, 2023, 12:15pm UTC](https://forum.babylonjs.com/t/in-vr-mode-the-model-shake-i-dont-know-what-causes-it/41439/6 "2023-06-13T12:15:03Z")

</div>

Just following up on this - this is the expected behavior. When in an XR session your head is constantly moving, which changes on each frame the way the highlight is being rendered. It will behave the same if you “shake” the camera with a mouse. This is sadly unavoidable.

---

<div class="post-metadata">

**Author:** ![pxim](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/pxim/32/26372_2.png) [@pxim](https://forum.babylonjs.com/u/pxim)\
**Post date:** [June 14, 2023, 5:20am UTC](https://forum.babylonjs.com/t/in-vr-mode-the-model-shake-i-dont-know-what-causes-it/41439/7 "2023-06-14T05:20:25Z")

</div>

So that’s how it is!  
Thank you very much.
