2
$\begingroup$

Could someone please correct me if I am wrong?

It takes Boolean. So If I connect only the Z axis via "Separate XYZ" and use "Compare Node" to get only values larger than 0 it will look something like this:

enter image description here

$\endgroup$

1 Answer 1

2
$\begingroup$

Set Position node iterates over instances and points (vertices, curve control points, point cloud points) of the supplied Geometry, and for each:

  1. Evaluates the Selection field, which by default is True. If the field is evaluated to True, the point will be moved, otherwise it's left alone.
  2. Evaluates the Position field, which by default is using the Position node. The evaluated position is where the point will be moved.
  3. Evaluates an additional Offset field, which by default is $<0, 0, 0>$, this vector is added to the position, that is, the two below frames are equivalent:

So it's pretty simple, a point is either moved or not, it doesn't treat each axis separately. So, based on the implicit conversion rules I described here, value $0$ becomes False, and value $1$ becomes True. Therefore using a field, that for first 5 points evaluates to $1 = $ True, and for the latter 5 points evaluates to $0 = $ False, makes it so only the first 5 points are moved, and the latter 5 points aren't.

More reading:

$\endgroup$
1
  • 1
    $\begingroup$ Thank you very much Markus ❤️❤️❤️ you helped me a lot today. I hope one day I will be able to provide answers for other people too. I am very ambitious with very little knowledge. I don't have enough reputation to upvote yet but as soon as I reach 15 points I will do it. Thanks again. 👍 $\endgroup$ Jan 20 at 19:22

You must log in to answer this question.

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