I’m currently migrating a WebVR app to WebXR. It’s working great with both an Oculus Quest and HTC Vive. But I’ve run into some problems with Chrome on Android in “Google Cardboard” mode (meaning no controllers).
I think I’m probably missing something obvious, but I can’t figure out how to detect when the user clicks the magnet select button on the cardboard headset (described here in case you’re not familiar: https://www.quora.com/How-does-the-magnet-select-button-for-Android-Cardboard-work-and-how-does-the-required-magnet-interface-with-the-touch-screen-of-the-phone).
I see some references to “gaze” in the documentation:
- Introduction to WebXR - Babylon.js Documentation
- WebXR Input and Controller support - Babylon.js Documentation
But no concrete examples.
Thanks for your help.