immersive-web / anchors

https://immersive-web.github.io/anchors/
Other
50 stars 20 forks source link

Anchor creation algorithm should take into account space's `origin offset` #39

Closed bialpio closed 4 years ago

bialpio commented 4 years ago

The way it's currently described, anchor creation algorithm erroneously ignores the origin-offset of an XRSpace passed to it. XRRigidTransform passed in to createAnchor call should be interpreted as if it's expressed relative to space's effective origin, not native origin.