Geometry nodes rotations at 90 degrees only

I want to use geometry nodes to spread buildings. I want random rotations on them but only at 0, 90, 180 or 170 degrees. Any ideas?

1 Like

hey Robert ask this here instead hehehe Geometry Nodes

1 Like

Oh! Cool. I’ll give it a shot. Thanks! :slight_smile:

You can use the snap operator in the attribute vector math node. Sanne did a post on it in this thread: Geometry Nodes in 2.92 - #23 by Midphase