WebXR-emulator-extension
WebXR-emulator-extension copied to clipboard
Getting a pose from an offsetReferenceSpace returns returns a pose which is not offset.
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.
Thanks for the report. I want to investigate and fix the bug by the next release.
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 .