Is it possible to automatically start AR on mobile, instead of having to click on the AR button? (WebXR and Quicklook)
by user 313734732934283264
Is it possible to automatically start AR on mobile, instead of having to click on the AR button? (WebXR and Quicklook)
by user 313734732934283264
Hello there β we have an experimental AI bot that might be able to help you with your question. Would you like to try this out?
Hi, you need a user interaction on the website before starting immersive-ar (thatβs WebXR e.g. on Android). The interaction doesnt have to be on that button but it must be a click somewhere (same with playing e.g. audio on a website)
You could however start Quicklook immediately
Ok, thanks. Thatβs what I was thinking as well
by user 313734732934283264
With the new XR system what you can do is window.addEventListener("click", () => { NeedleXRSession.start("immersive-vr") }
for example to immediately start an XR session when the user first clicks on the website