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 FOpenXRHMD::GetPlayAreaBounds (though this is in a private class so not great) to get the dimensions, but not the positional offset to the center of the rectangle.
- On launch, the center is at (0,0,0), but 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. XRSystem->GetTrackingToWorldTransform() doesn’t update to a new location.
So is there any way to maintain alignment between a virtual object and the play area in OpenXR?