How to find the index of intersects[0].object in objects array for raycaster.intersectObjects ( objects ) ?
Is there any easier way than comparing intersects[0].object with each item in the objects array?
Many thanks for your attention.
How to find the index of intersects[0].object in objects array for raycaster.intersectObjects ( objects ) ?
Is there any easier way than comparing intersects[0].object with each item in the objects array?
Many thanks for your attention.
Please add more detail, for example:
You will, of course, be free to make a new post in that case.