I'm currently playing around with a VR environment for Google cardboard, using React and A-Frame and have a bug that I cannot fix.
I'm using a fuse-type cursor that will fire off a click event upon gazing at a target for more than 1.5 seconds. It's supposed to fire off once, but for some reason it will fire off multiple times.
You can check out the app on the browser at https://vr-museum.herokuapp.com
The code for the cursor:
<Camera position={this.state.cameraPos} >
<Cursor fuse="true" max-distance="10" timeout="1500" color="red"/>
</Camera>
Any insight as to what may be going on will be greatly appreciated.
Thank you.