using this method in order to test and check the intersection that i get when clicking on a point in the point cloud , when loggin intersects in shows around 44k points which is inaccurate to get the coordinates of the position clicked. I tried using threshold it doesnt work cause zooming in and zooming out affect it.
const rayCaster = new THREE.Raycaster();
let x = (e.clientX / window.innerWidth) * 2 - 1;
let y = -(e.clientY / window.innerHeight) * 2 + 1;
const mouse = new THREE.Vector3(x, y);
rayCaster.setFromCamera(mouse, this.camera);
const intersects = rayCaster.intersectObjects(this.scene.children);
console.log(intersects);