3
$\begingroup$

I'm new to Blender and geometry nodes. I've made this simple node tree which is supposed to populate a mesh with two different objects based on a simple piece of math on the index. My problem is, I can't seem to find a way to connect the switch. I was sure the "compare" node outputs a boolean value and I believe the switch nodes is expecting a boolean - can anyone see what I am doing wrong?

Thanks in advance!

Jeppe

enter image description here

$\endgroup$

1 Answer 1

4
$\begingroup$

The switch node can only take a single value as an input, you are trying to pass a field to it. Instead of using a switch node I recommend the following:

  1. Replace both object info nodes with one collection info node, that encompass all objects you want to place on grid.
  2. Plug the modulo directly into instance index.

this way you get the flowing result. enter image description here

$\endgroup$
1
  • $\begingroup$ Thank you so much @jst kiko - you are a life-saver - this was a much better solution! $\endgroup$ May 14 at 18:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.