Hello, I have a curve divided by 1 meter intervals of points (Curve Points), and 3 Attractors points. Is there a way to attract the Curve Points along the Z direction to the 3 Attractor points but in a Soft and gradual way? As shown in the image below. Also as an additional rule, can the closest point of each Attractor points be pulled to the same Z value as it’s attractor?

As shown, the blue lines show my goal such that the closest points are the ones pulled and not necessarily all the points.

The final result I’m after. The blue lines represent the new Curve Points. The block dots are the attractor points.

Thanks.Curve Shape Attractor.gh (9.7 KB) CrvAttr.3dm (51.1 KB)