Randomize rotation with rotation socket

Hi,

I’m trying to build a node group to randomize instances rotation (crazy original I know !)

I have two issues :

  • Rotation “jump” when the value is approching 180 degrees and every other 360 + 180 degrees increment ( 540, 900 etc. )
  • Randomization seems to peak at 180 degrees and then decrease when approching 360 degrees

I guess the former has something to do with Euler rotation ?

And the latter with radians / degrees conversion ? I noticed that the rotation socket is going back to 0 when the value goes above 360 degrees.

Thanks !

You’re changing types… Rotation type is -180 to 180 already… So “Half Val” isn’t doing what you think it is doing.
Change your input socket type to Vector with subtype Euler instead.
image
Good luck.

1 Like