'how to get gaurdian boundery in a-frame

I am working on a vr game that adapts the world to the players movement in their playspace.

To do so I need a list of the edges of the boundary of the gaurdian. How do you get that in a-frame.



Solution 1:[1]

Bounded-floor is the property that that gives this https://aframe.io/docs/1.3.0/components/webxr.html#properties2_bounded_floor

There is more info here in the webXR spec: https://developer.mozilla.org/en-US/docs/Web/API/WebXR_Device_API/Geometry

search that page for bounded-floor and it will take you to some more details, links and info.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 RobKohr