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

Minor cosmetic issues in explainer example code #62

Open
fordacious opened this issue Nov 5, 2020 · 1 comment
Open

Minor cosmetic issues in explainer example code #62

fordacious opened this issue Nov 5, 2020 · 1 comment

Comments

@fordacious
Copy link

"Great example code in the explainer--relatively easy to follow. I noticed a potential issue in the second code example for Hand Interaction--checkInteraction runs once each frame, and thus when the hand enters the radius of the button in 3D space, the button will very rapidly toggle between pressed states 🙂. Not sure it matters from a pedagogical example though."

@Manishearth
Copy link
Contributor

Yeah, perhaps we could add some debouncing code, or maybe a "// handle debounce here comment

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