I’ve created a html button that works just fine in the scene, but when I turn on VR mode the button disappears. What could be causing this and how to fix this, any ideas?
Hi,
you cann’t use html in VR mode, you have to create your own ‘interface’
You can use
https://doc.babylonjs.com/how_to/gui
I tried to create the button with GUI but the problem is that in VR mode button appears inside the VR lenses even tho I place the button on top right corner of the screen. The button functions normally if I press the space where the button has been put, but the icon appears inside the VR lensses. Any ideas how to fix that?
I didn’t get you can you repo it in playground?
https://playground.babylonjs.com/
Or share the code.