That’s my whole code, I uploaded on playground.
https://playground.babylonjs.com/#K0MQ7A#1
Now what my concern is, when I click on webvr, it does not work ,
but when I put
“var vrHelper = scene.createDefaultVRExperience();” in “createScene” then webpage on mobile view stops working. WEBVR works .
and if i put “var vrHelper = scene.createDefaultVRExperience();” in “createScene1” webpage in mobile works perfectly as I needed but , WebVR stops working as in playground.(https://playground.babylonjs.com/#K0MQ7A#1)