immersive-web / webxr-hand-input

A feature repo for working on hand input support in WebXR. Feature lead: Manish Goregaokar
https://immersive-web.github.io/webxr-hand-input/
Other
104 stars 17 forks source link

Minor cosmetic issues in explainer example code #62

Open fordacious opened 3 years ago

fordacious commented 3 years ago

"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 commented 3 years ago

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