I’m running into an issue when using OpenXR with Oculus (on PC):
-
I would like to keep track of the play area of the player (say for showing a quad on the ground displaying the safe area).
-
I can use XrInputSubsystem.TryGetBoundaryPoints to get the dimensions, but not the positional offset to the center of the rectangle (the points are always centered around 0,0,0)
-
Oculus allows you to Reset View, leading the center to be located away from (0,0,0), but this isn’t reflected in any publicly available manner. The XR Origin transform doesn’t appear to shift locations during the Reset action.
So is there any way to maintain alignment between a virtual object and the play area in OpenXR? Otherwise won’t it not be possible to ensure the safety of our users since we can’t adapt the play space correctly?