My current project involves working on a 3D model in three.js that consists of multiple small parts joined together to create a loader. I am utilizing raycaster and intersects to determine which element has been clicked. The model resembles a door, complete with screws, handles, hinges, bolts, rails, rotation points, pivots, and more.
The issue I am facing is that the elements are not being recognized by raycaster and three.js unless I zoom in significantly. Only when I zoom in can I accurately identify the clicked element. Is there a solution to this problem that would allow me to avoid having to zoom in to detect elements?