I am trying to detect when straight-line connections (to be represented using the Line class) between two spheres are disallowed because they pass through another sphere first. So the bottom-most sphere can see the middle one, but not the top-most, for example. But all I have so far is a bunch of Rays that visibly pass through the sphere meshes, but return no hit. Any ideas?
Hi @Natalie_Driscoll and welcome to the community. I am only on mobile so cannot update your playground. Put the following after you change the spheres positions, for 0, 1 and 2