Please refer to the executable code snippet in this question.
I would like to set the ray at the center of the screen (0,0,0) aka inside the globe, and point outwards wherever my mouse is. Well, really I’d like the raycaster to trigger a tooltip when I hover over one of those spheres, that’s just how I think it would work.
I have tried
raycaster.set( new THREE.Vector3(0,0,0), pointer) but that doesn’t work.
I’m sure this has to do with where the camera is placed but this is my first time using a raycaster so please let me know what I’m doing wrong!