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

Mesh click-events #1

Closed
wants to merge 2 commits into from
Closed

Mesh click-events #1

wants to merge 2 commits into from

Conversation

okydk
Copy link

@okydk okydk commented Nov 14, 2020

Great work Kevin! 🎉 Love the simplicity and speed!
Being able to attach click events to the meshes directly would make it so powerfull.
So I went ahead and implemented a quick PoC. What do think? :)

@klevron
Copy link
Member

klevron commented Nov 16, 2020

Thank you very much @okydk 👍
I will take a look today or tomorrow

@klevron
Copy link
Member

klevron commented Nov 18, 2020

I will merge your PR soon :) but I will refactor the code since I think it is better to handle events (not only mouse, I want to handle webxr events) outside the useThree.js helper.

@okydk
Copy link
Author

okydk commented Nov 18, 2020

That's a great idea! Let me know if you need assistance.
Using Trois for WebXR sound amazing! Just got a Quest 2! 😛

@klevron klevron mentioned this pull request Jan 7, 2021
@klevron klevron closed this in 9fbe569 Feb 21, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants