0
$\begingroup$

I've created a ring that changes the material of a pill based on its position.

What I don't understand is why I have to raise the ring so much to change the material of the entire pill.

enter image description here

I expected that the height of the ring and the material changed at the same speed.

What is wrong in my Geometry Node?

enter image description here

Thanks for your help :)

$\endgroup$
2
  • 1
    $\begingroup$ you did a small mistake here. You compare the face.position.Z with the ring.location vector (XYZ). But you actually want to compare it with the Z value of location only. So add another Separate XYZ node between the Object Info and the Greater Than math node and use its Z value. That's it :-) $\endgroup$
    – Blunder
    Commented Apr 14, 2023 at 12:01
  • $\begingroup$ How easy. Thank you so much Blunder :) $\endgroup$ Commented Apr 14, 2023 at 12:16

0

You must log in to answer this question.

Browse other questions tagged .