THREE.Interactive
THREE.Interactive copied to clipboard
Fast and simple interaction manager for three.js for enabling mouse and touch events on 3D objects
The [document](https://github.com/markuslerner/THREE.Interactive#interactiveevent-class) says ``` type (string) – event type: 'click', 'mouseover', 'mouseout', 'mouseenter', 'mouseleave', 'mousedown', 'mousemove', 'mouseup', 'touchstart', 'touchmove', 'touchend', 'pointerdown', 'pointerup' ``` So it seems like it is possible...
I install the library and when I import it I am geting this error ``` ERROR in ./node_modules/three.interactive/build/three.interactive.js 3005:231723 Module parse failed: Unexpected token (3005:231723) You may need an appropriate...
Thanks for that great work! One thing I wondered about was the "`interactionManager.update();`" I added it to the render function but didn't get any mousemove events, unless I clicked on...
https://dev.markuslerner.com/three.interactive/examples/gltf.html
The new autoAdd feature is excellent for intuitive user experience, but performance drops to 1 frame per second. Any thoughts on how to configure it to prevent that? I added...
We are excited to find your great library. We noticed the documentation mentions https://github.com/jasonChen1982/three.interaction.js which is really intuitive lib, it just drops in and worked until it stopped being maintained....
Now only support Mesh, Group not supported.
Hello, I have a problem, I have bound the click event to object A. Then I pressed the left mouse button on a blank space but did not release it,...
A common programming idiom is to call `add()` when the object (interactive) is created, and then call `remove()` when the object is destroyed. However, due to the lack of understanding...
I'm adding listeners to objects in a loop like this: ``` ref.addEventListener('mousedown', this.fireClickStarting ); ref.addEventListener('mouseup', this.fireClickEnding ); interactionManager.add( ref ) ``` 'mousedown' activates correctly only when clicked object ref but...