# WebXR movement on VR. Change camera type on Web

**URL:** <https://forum.babylonjs.com/t/webxr-movement-on-vr-change-camera-type-on-web/39296>\
**Category:** Questions\
**Tags:** camera, webxr, joystick\
**Created:** [March 23, 2023, 2:26pm UTC](https://forum.babylonjs.com/t/webxr-movement-on-vr-change-camera-type-on-web/39296 "2023-03-23T14:26:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luca\_Scida](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/luca_scida/32/30906_2.png) [@Luca\_Scida](https://forum.babylonjs.com/u/Luca_Scida)\
**Post date:** [March 23, 2023, 2:26pm UTC](https://forum.babylonjs.com/t/webxr-movement-on-vr-change-camera-type-on-web/39296/1 "2023-03-23T14:26:24Z")

</div>

Hi,  
I need to have different camera for display 3D object to web and display by VR.

I need, on VR, possibility to movement. I see the documentation [WebXR Selected Features | Babylon.js Documentation (babylonjs.com)](https://doc.babylonjs.com/features/featuresDeepDive/webXR/WebXRSelectedFeatures#movement-module)  
and this Playground [XR Movement Feature | Babylon.js Playground (babylonjs.com)](https://playground.babylonjs.com/#AZML8U) but it’s same camera (web and VR).

If I use BABYLON.ArcRotateCamera, on VR, movement it’s by Teleportation (I disabled this options).  
If I use BABYLON.FreeCamera, movement it’s working on Web and VR. (but I need only on VR).

So I need BABYLON.ArcRotateCamera on Web, and BABYLON.FreeCamera on VR; it is possible?

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [March 23, 2023, 3:17pm UTC](https://forum.babylonjs.com/t/webxr-movement-on-vr-change-camera-type-on-web/39296/2 "2023-03-23T15:17:17Z")

</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 23, 2023, 3:36pm UTC](https://forum.babylonjs.com/t/webxr-movement-on-vr-change-camera-type-on-web/39296/3 "2023-03-23T15:36:02Z")

</div>

> [@Luca\_Scida](#):
>
> So I need BABYLON.ArcRotateCamera on Web, and BABYLON.FreeCamera on VR; it is possible?

That’s the only way it works, actually. Are you sure you use WebXR (and not the deprecated WebVR)?

---

<div class="post-metadata">

**Author:** ![Luca\_Scida](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/luca_scida/32/30906_2.png) [@Luca\_Scida](https://forum.babylonjs.com/u/Luca_Scida)\
**Post date:** [March 23, 2023, 3:58pm UTC](https://forum.babylonjs.com/t/webxr-movement-on-vr-change-camera-type-on-web/39296/4 "2023-03-23T15:58:51Z")

</div>

Uhm, you are right.

I tested on playground and it’s working, with part of my code

[WebXR and Web Testing | Babylon.js Playground (babylonjs.com)](https://playground.babylonjs.com/#M40LNS)

I think I have some code that I need to remove on my implementation.

Thanks
