1
$\begingroup$

How do I set up random rotation in Geometry Nodes in a way that enables me to rotate the individual arrayed instance in opposite directions? Currently, the random value node only randomly rotates in the same direction. Random rotation in opposite directionsCurrent custom array node graph

Current custom array node graph setup

$\endgroup$
7
  • 1
    $\begingroup$ did you try set min to -1? $\endgroup$
    – Chris
    Commented May 23, 2023 at 13:00
  • $\begingroup$ You mean on the Random Value node? Yeah, but that just expands the range in the opposite direction. It still rotates all of the instances in the same direction. I want to rotate the individual instances in random opposite directions, as shown in the gif. $\endgroup$ Commented May 23, 2023 at 13:17
  • 1
    $\begingroup$ ok pls provide blend file so we can see what we are doing, thx $\endgroup$
    – Chris
    Commented May 23, 2023 at 13:20
  • $\begingroup$ Just included the file in the post. Thank you. $\endgroup$ Commented May 23, 2023 at 13:27
  • $\begingroup$ I essentially want to build a "smart array" that will let me place things on a shelf but allow me to rotate (on z) the instances and position (on x & y) in random directions, instead of in a single direction, so it breaks up that CGI look where it's all perfectly aligned and spaced apart. $\endgroup$ Commented May 23, 2023 at 13:40

2 Answers 2

1
$\begingroup$

If you want to guarantee some minimal rotation / angular velocity, but alternate direction:

If you want to randomize rotation axis:

$\endgroup$
0
$\begingroup$

as i wrote in comments, just give in min -1 and e.g. choose seed 2. Then both directions will be seen. Looks like you just tested only with seed 0.

also i would recommend using the nodes like this:

enter image description here

so it is clear that you switch really a vector here.

$\endgroup$
1
  • $\begingroup$ Yeah, the seed is not the best for this small group... changing it would have helped him to see it actually works. Or maybe instead of using 5 instances something like 20... more objects, more chances to get opposite directions. $\endgroup$ Commented May 23, 2023 at 14:21

You must log in to answer this question.

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