unity-webxr-export
unity-webxr-export copied to clipboard
Does it work with unity poly space/vision os ?
Hey folks,
I'm wondering if this great plugin is working alongside with poly space for vision os ? I mean by that, can I use webxr to interact with a content using my hands and eyes without controllers ?
Many thanks!
Those are a couple of not necessary related questions.
-
Does it work with Poly Space? I don't know. Never tested Poly Space, and never tested both packages together.
-
Does it work with Vision OS? Yes, it works on Safari on Vision OS when using the WebXR VR Session. Notice that on Vision OS 1, the WebXR API is behind flags. On Vision OS 2 it works with no need to change flags. And I think that there are still some related bugs on Safari, related to the WebXR session in general. The most notable one I found was in the beta of Vision OS 2, where entering to the WebXR session was possible only from an HTML button on the page. I can give you more details if you would like to report this bug to Apple. (I don't have a developer account that is easy to reports bugs with)
-
Can I use WebXR to interact with content using my hands and eyes without controllers? Yes, but... You can use the WebXR Hands module, and have hands tracking, similar to the hands tracking on Meta Quest. Currently there's no such thing as WebXR Eyes tracking module in the WebXR specs, so you don't have access to eyes data. WebXR has transient-pointer input, which is similar to how selecting objects on Vision OS works, but it's not fully implemented in WebXR Export. More on transient-pointer input at https://webkit.org/blog/15162/introducing-natural-input-for-webxr-in-apple-vision-pro/ WebXR Export gets the select event of the transient-pointer input and invokes the OnMouseDown event of Unity. But it doesn't read the gaze direction.