Raycast hits count
Currently raycast has boolean field if ray hit target geometry or not, which is ok for most cases, but i feel we need information about count of hits. It will be beneficial to get count of hits for example for checking if point is inside of closed surface, using only raycast, or, in my case, to determine if instance of curve for plexus structure
is inside or outside the surface, using only points it is created from.
1 Comment
Perhaps for your task the information about the normals of the object will be enough. Also, SDF nodes are already being developed, as far as I know. In this case, you can also convert the hand geometry into volume and calculate the volume density for each point of the curve. If the density is zero, then the point is not inside the object and vice versa.