2
$\begingroup$

I want to draw a line with cylinders. The problem is that I need all the odd cylinders rotated of 90º.

I'm looking for a geometry nodes function like odd/even, but I can't find it.

Any idea how to do it?

enter image description here

My Geometry Nodes

$\endgroup$

1 Answer 1

2
$\begingroup$

you can add these 3 nodes to your node tree:

enter image description here

The modulo 2 node generates a list of 0 1 0 1 0 1 ... for growing integers.

$\endgroup$
1
  • 1
    $\begingroup$ Thanks Chris, is exactly what i need :) $\endgroup$ Apr 26, 2023 at 12:21

You must log in to answer this question.

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