MozillaReality / WebXR-emulator-extension

WebXR emulator extension
Mozilla Public License 2.0
454 stars 55 forks source link

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

Open AdaRoseCannon opened 3 years ago

AdaRoseCannon commented 3 years ago
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.

takahirox commented 3 years ago

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

AdaRoseCannon commented 3 years ago

Thank you so much for responding so quickly!

On Thu, 19 Nov 2020, 18:51 Takahiro, notifications@github.com 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 .