I’m developing for HTC Vive with Lighthouses. In SteamVR I have run Room Setup, traced the outline of my room, and it created a rectangular play area inside that space.
Through OpenXR I’ve created a XR_REFERENCE_SPACE_TYPE_STAGE, the extents given by xrGetReferenceSpaceBoundsRect perfectly matches the bounds of the previously calibrated room, and the HMD view etc. is exactly where I expect it to be. I.e. so far everything is working.
However, when I hit recenter in the SteamVR overlay, the STAGE space is moved to the current position of the HMD. If I understand the spec correctly, this is how LOCAL_FLOOR space is supposed to behave, while STAGE origin should remain inside the centre of the physical room.
This causes a major problem for me, since the rectangle given by xrGetReferenceSpaceBoundsRect is no longer an empty space which can be walked around on. Is there any workaround for this? Adapting the virtual world to the player’s available physical space is a core concept of the game I’m working on.