How can I use referenceSpaceType bounded-floor if available, else local-floor in AFRAME?

50 Views Asked by At

How can I use referenceSpaceType bounded-floor if available, else local-floor in AFRAME?

According to https://aframe.io/docs/1.4.0/components/webxr.html#referencespacetype, I can only give one value, but to be flexible in the supported devices, I would like to have both options, with the bounded-floor the prefered one and even required, if in VR, but nor AR mode.

0

There are 0 best solutions below