Open Amev opened 8 years ago
Hi, thanks for your interest in the project :D
For these props to work you will need to use the MouseInput module like in this file:
https://github.com/toxicFork/react-three-renderer-example/blob/82b417caef9652453b886684e38801c5bd544d39/src/examples/DraggableCubes/index.js#L209-L212 (search for MouseInput)
Currently it's a bit of a manual process but it's in my TODO list to make the modules easier to set up and use :)
Hi,
First, thanks for your great job, this lib is really cool !
I'm trying to do some stuff with it but i have a little issue when i try to give a onMouseDown event handler to mesh or react3 components like you did in your examples.
I have a
foreign prop onMouseDown found in mesh
error when i do this. Am I doing something wrong ? (I just want to change color when i click on cube, this is working perfectly when I assign event handler to parent div)Thanks