How to raycast in InstancedBufferAttribute

What would be the way to raycast in a InstanceBufferAttribute ?. I have tried to raycast and without results, it does not return any information

this is the pen

Take a look at these topics: Raycast Highlight with InstancedMesh and Highlighting an instance in InstancedMesh
There is no implementation of raycasting in InstancedBufferAttribute. But InstancedMesh has it.

1 Like