var vector = new THREE.Vector3(mouse.x, mouse.y, 0.5);
projector.unprojectVector(vector, camera);
var ray = new THREE.Raycaster(camera.position, vector.sub(camera.position).normalize());
var intersects = ray.intersectObjects(objectList, true);
Why Intersect object not working ?
three.js r.69 is 3 years old. It would be wise to update to the current version.
See this SO post.
Most helpful comment
three.js r.69 is 3 years old. It would be wise to update to the current version.
See this SO post.