Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

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

Closed
AdaRoseCannon opened this issue Nov 19, 2020 · 2 comments
Labels
ARCHIVED CLOSED at time of archiving bug Something isn't working
Milestone

Comments

@AdaRoseCannon
Copy link

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 takahirox added the bug Something isn't working label Nov 19, 2020
@takahirox
Copy link
Contributor

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

@takahirox takahirox added this to the v0.4.0 milestone Nov 19, 2020
@AdaRoseCannon
Copy link
Author

AdaRoseCannon commented Nov 19, 2020 via email

@cknowles-admin cknowles-admin added the ARCHIVED CLOSED at time of archiving label Jul 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ARCHIVED CLOSED at time of archiving bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants