4
$\begingroup$

Need to array this square frame in a grid layout but they need to rotate randomly every 90° using geometry nodes.

1st image: Array i made, the one inside the green square is the main

2nd image : Reference Image from ArchDaily, its what i want to replicate

PD: first time posting here, and 0 knowledge on geometry nodes 🙃 Thanks in advance

Reference Image from ArchDaily, its what i want to replicate

Array i made, the one inside the green square is the main

$\endgroup$

1 Answer 1

4
$\begingroup$

with this node tree:

enter image description here

you hopefully get what you want.

Just create a random number from 0 to 3 and multiply it with pi/2 so that you get random values for rotation (GN calculates in radians).

Then rotate your instances with rotate instances.

$\endgroup$
3
  • $\begingroup$ It did worked, but a little nitpick, the center object seems offset and doesnt perfectly stack even tho its on the perfect geometric center imgur.com/a/b5XNQ25 $\endgroup$
    – David J
    Commented Apr 6 at 15:01
  • 1
    $\begingroup$ than you made something wrong....maybe your pivot point isn't in the middle. Pls provide blend file, so that i can check it out. $\endgroup$
    – Chris
    Commented Apr 6 at 15:55
  • 1
    $\begingroup$ You were right, the origin point was a bit off, thanks for the help way faster than reddit lmao $\endgroup$
    – David J
    Commented Apr 6 at 18:21

You must log in to answer this question.

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