-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebXR Anchors #3091
WebXR Anchors #3091
Conversation
Help, #typescriptproblems. Not sure how to deal with this problem. :( |
@Maksims Looks like the issue is:
In callback.js, it's missing XrAnchorCreate Add something like this to callbacks.js
PS Sorry about the late reply, only just saw that you needed help 😅 |
More merge conflicts here too @Maksims. 😄 |
Updated this PR to be mergeable, but get two errors with TypeScript Declarations (#typescriptissues....). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving with final round of feedback. I'll merge when those are addressed. Thanks! 🚀
Co-authored-by: Will Eastcott <[email protected]>
Co-authored-by: Will Eastcott <[email protected]>
Co-authored-by: Will Eastcott <[email protected]>
Implementation of an experimental draft spec: https://github.com/immersive-web/anchors/blob/main/explainer.md
It is available in Chrome for Android.
Anchors provide an ability to specify a point in the world that need to be updated to correctly reflect the evolving understanding of the world by the underlying AR system, such that the anchor remains aligned with the same place in the physical world. Anchors tend to persist better relative to the real world, especially during a longer session with lots of movement.
Current WebXR Anchors spec provides persistence features - Anchors can provide persistent UID, that can be used to restore them between sessions. But currently Chrome for Android 115 - does not support it.
New APIs:
Test project:
https://playcanvas.com/project/785123/overview/webxr-ar-anchors
This project relies on Hit Test API and allows to place anchors by tapping on surfaces.
Test Build:
https://playcanv.as/p/Skq3Ry1K/
I confirm I have signed the Contributor License Agreement.