Is there a way to access the dimensions of the room/play area set up in SteamVR? Either thru OpenXR or thru SteamVR’s API? I’m working on a VR game, where the player can’t teleport or move using the controller, only move IRL. I’d like to make the maps scale to the available play space. Like how in SteamVR a grid box appears when you get too close to the “wall” of the room set up.
You can use XRInterface.get_play_area to get a bounding box that fits inside of your guardian setup.
Right now however there is an issue that recentering will cause a mismatch between the provided play area and the players orientation so it’s not super usable atm.
There is a new reference mode that was recently introduced into OpenXR that will work around this issue but we haven’t had time to add support for it yet.