I would like to grow objects on a surface. For this I use a node setup, where the size of the instances is controlled by an object. However, the objects become smaller again after the object has passed. I would like the instances to keep their size even if the object is already gone. Thank you!
1 Answer
$\begingroup$
$\endgroup$
From your example, I gather that you are concerned with scaling objects in relation to the Z-position of another object.
At least, this is what the images suggest, since the object is larger on the X and Y axes than the terrain.
If I am correct, you could solve this as follows:
- Create an Empty.
- Take the direction between each point and the Empty as a value to control it
- Map this value with
Map Range
into a range that fits for you and multiply it with another randomly generated value
Of course you can also change this example so that not only the Z-axis is taken into account.
max(0, x)
) it stays at 0. I imagine quellenform's solution does exactly that, using a map range with "Clamp" enabled. $\endgroup$