Is this a bug with OpenXR tracking in OpenXRHMD.h:145?
virtual void SetTrackingOrigin(EHMDTrackingOrigin::Type NewOrigin) override

{ TrackingSpaceType = (NewOrigin == EHMDTrackingOrigin::Floor && StageSpace != XR_NULL_HANDLE) ? XR_REFERENCE_SPACE_TYPE_STAGE : XR_REFERENCE_SPACE_TYPE_LOCAL; }

I thought you would pass in EHMDTrackingOrigin::Stage to get the Stage tracking but you'd have to call it with EHMDTrackingOrigin::Floor counter-intuitively. `GetPlayAreaBounds(EHMDTrackingOrigin::Type)`  in contrast maps Eye to View, Floor to Local, and Stage to Stage.

Steps to Reproduce


Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-127962 in the post.

Login to Vote

ComponentUE - Platform - XR
Affects Versions4.27
Target Fix4.27.1
Fix Commit17653053
Release Commit17653053
CreatedSep 27, 2021
ResolvedSep 29, 2021
UpdatedDec 1, 2022