Skip to content
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

HitTest support #169

Open
julapy opened this issue Feb 23, 2023 · 2 comments
Open

HitTest support #169

julapy opened this issue Feb 23, 2023 · 2 comments

Comments

@julapy
Copy link

julapy commented Feb 23, 2023

Hi, im discovering that the webxr-polyfill is limited in features and does not include support for HitTest.
I can also see in the git history that it was supported once upon a time under an older WebXR spec... might need a bit of history lesson here on why the latest code only polyfills a limited feature set, if anyone has time to indulge me? (I'll bring the marshmellows :)

In any case I'm going to go ahead and implement it but wondering if there is an intended way of extending on the current webxr-polyfill code? I've been trying to contain all my changes to a new XRDevice subclass but finding some features require the code to spill out into other classes which I'm trying to avoid... is there any documentation on best approach to extending the code for new features and UAs?

@allannienhuis
Copy link

julapy I'm looking for HitTest support as well. Were you able to complete the implementation? do you have it in a forked version of this repo?

@julapy
Copy link
Author

julapy commented Feb 9, 2024

@allannienhuis i did find the hit test implementation in this mozilla repo.
https://github.com/MozillaReality/webxr-ios-js
there are some disclaimers in the README to take into consideration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants