const post=new THREE.Vector3(-Math.PI/2,0,0);
const post2=new THREE.Vector3(dolly.position.x,dolly.position.y,dolly.position.z);
post.normalize();
raycaster.set(post2,post)
const temp=raycaster.intersectObjects(scene.children)
temp never contains any objects even when dolly is directly above the objects.
looeee
2
Can you share your complete code? As a working example on codesandbox/codepen if possible.
https://Vrtest.mathman05.repl.co the edit button in the bottom right-hand corner should work.
looeee
4
That takes me to the three.js editor. How do I see the actual code?
the scene contains the code
got it working it just didn’t like scene.children but it took the children of a group just fine