1
$\begingroup$

I'm trying to create a node setup that will allow me to effect the density of a set number of instances along a curve with multiple attractors. I have a setup using one attractor that is working pretty well, however, I can't implement any more without causing strange effects that I can't solve.

Bonus points if you can tell me how to restrict the movement of the instances so that they do not move beyond the curve from which they are instanced on.

enter image description here

The second attractor isn't hooked up here, but it would usually just be plugged into the second set position node

The second attractor isn't hooked up here, but it would usually just be plugged into the second set position node

$\endgroup$

1 Answer 1

2
$\begingroup$

You could convert several objects from a collection into points and use them for Geometry Proximity.

You can then use the resulting distance value as a multiplier of the direction to the nearest object.

Something like this:

enter image description here

Note: This solution is not perfect, however, because too large an area of effect will move an object either one way or the other, depending on which object is closer.


(Blender 3.6+)

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .