How to find dozens of points that are close to a BasePart

I’m trying to create a cave monster similar to that of a daddy longs legs on Rainworld.

This is an example video. The body of the monster usually levitates and finds points of “interest” that its tentacles can grab hold of when they get too far from the main body. The question is how would i replicate the system that searches for these points of interest? I thought of a bunch of rays but that would just be too unoptimized. Is there any other way i can do this?

i would create an invisible sphere part (in the monster’s main torso/humanoidrootpart) that keeps expanding. when it touches a point of interest/a point it can stick to, it stops expanding and connects one of the tentacles to that part, blacklisting it until the tentacle lets go of it.
you could run this statement such that the sphere only stops expanding after finding x number of points.
i don’t know how you would connect the tentacles to it, however.

2 Likes