Update instancedMesh position when rotating

Hello Community!!

I am struggling with this one so help will be really appreciated!! :slight_smile:

I have a bunch of instanced meshes. In the animate phase, I am rotation them through the x-axis but the position is not being updated and I need their updated position in order to interact with the mouse.

Can someone help me?

Thanks in advance and warm regards.

Hi!
Why not use THREE.Raycaster() to interact with instances? THREE.InstancedMesh supports raycasting.

@prisoner849 I thought about it, but I need a predator/radius to trigger it before. As far as I know, I cannot set a radius on raycasting on an instanced mesh.