I recommend you use raycaster.
Raycaster will not only work on objects made in THREE.js itself. It will also work on GLTF, GLB, OBJ, FBX, … models.
I recommend you use raycaster.
Raycaster will not only work on objects made in THREE.js itself. It will also work on GLTF, GLB, OBJ, FBX, … models.