Rufus31415 / Simple-WebXR-Unity

⭐ Bringing WebXR to Unity 3D ! B-)
https://rufus31415.github.io/webxr/MRTK-HandInteraction/
MIT License
576 stars 82 forks source link

How to enable Spatial Awareness on Android? #44

Open XRAdventure opened 2 years ago

XRAdventure commented 2 years ago

Hi, I am trying to replicate your show case WebXR on Android with MRTK.

I want to enable Spatial Awareness like this. move

But, I am not able to do it. I enabled it in MTRK ToolKit. But it doesn't work, image

What should I do to activate it? My current set up: Unity 2019.4.23 MRTK 2.7 Android 8

Thank you for your help

Rufus31415 commented 2 years ago

Hey, This demo was a test before I developed SimpleWebXR : https://github.com/Rufus31415/MixedRealityToolkit-Unity-WebXR

In fact, a hack with Three JS allows to visualize spatial meshes, it implements the old spatial mesh API : https://github.com/Rufus31415/MixedRealityToolkit-Unity-WebXR/blob/1bf7748024ae2ee619828fad6b4cbc25e01cba4e/Assets/WebGLTemplates/WebXR/index.html#L145

But SimpleWebXR does not implement yet the new spatial mesh API