Hi,
I am a begineer to threejs and I am using https://threejs-dala-replica.vercel.app/m the code from this to create something like https://dala.ai/
The issue I am currently having is that for my requirement, I have to translate the instancedMesh and the brain model to the right of the scene and gradually bring it to the left while also rotating on Y-axis.
The hover effect on the instanceMeshes which is created by the use of raycasting, would not work or work in an a very unexpected manner when the object is rotated, scaled or translated on any axis.
Link to github: GitHub - kekkorider/threejs-dala
To replicate the issue can add the following before the end of _loadModel:
this.brain.translateX(0.9)
this.brain.translateZ(-0.7)
this.brain.rotateY(2)
this.instancedMesh.translateX(0.9)
this.instancedMesh.translateZ(-0.7)
this.instancedMesh.rotateY(2)
Let me know if there is anything else required.
Thanks