What is the best way to detect any of these nodes are within a certain distance of an obstacle (the semi-transparent parts in this case)?
I’ve tried GetPartBoundsInBox, GetPartsInPart (see pictures), and GetTouchingParts and they all have similar results. They either don’t detect all of the parts in the obstacles, don’t work with thin obstacles or don’t detect any parts at all…
FYI - this is for a node generation script for a custom pathfinding module i’m creating.
In this example, some nodes detected the obstacle then it randomly stopped working:
Any advice would be appreciated.