WebXR-emulator-extension icon indicating copy to clipboard operation
WebXR-emulator-extension copied to clipboard

Getting a pose from an offsetReferenceSpace returns returns a pose which is not offset.

Open AdaRoseCannon opened this issue 3 years ago • 2 comments

const transform = new window.XRRigidTransform(position, orientation);
const offsetReferenceSpace = referenceSpace.getOffsetReferenceSpace(transform);
const pose = frame.getPose(offsetReferenceSpace, localReferenceSpace);

pose.transform should have the same values as transform if the localReferenceSpace and the referenceSpace are the same.

It works as expected in the Oculus browser, in this it comes through at the origin with no rotation.

AdaRoseCannon avatar Nov 19 '20 16:11 AdaRoseCannon

Thanks for the report. I want to investigate and fix the bug by the next release.

takahirox avatar Nov 19 '20 18:11 takahirox

Thank you so much for responding so quickly!

On Thu, 19 Nov 2020, 18:51 Takahiro, [email protected] wrote:

Thanks for the report. I want to investigate and fix the bug by the next release.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MozillaReality/WebXR-emulator-extension/issues/261#issuecomment-730569074, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAHSMRVZBAZR4LPT7Y44NDSQVSMDANCNFSM4T3UDONQ .

AdaRoseCannon avatar Nov 19 '20 20:11 AdaRoseCannon