Good morning all!!
I have an instanced mesh and you can interact with it with the mouse position. The problem comes when I rotate the meshes because I also need to pass that rotation to the mouse. I am struggling with it. Is there a way of doing it?
Thanks in advance
I suggest you use the following approach for interacting with instanced meshes:
https://threejs.org/examples/webgl_instancing_raycast
Raycasting will always work, no matter how the model or camera is transformed.
Hello @Mugen87, thank you very much for your response.
I know, the problem is that I have a predator/radius that pushes meshes away, and raycast is only triggering when I am over. Unless there is an option that I am missing. Am I?