randomise rotation of array modified objects

Question Modeling

Heya,

I'm looking into it online to see if I can find a solution - but I'll ask here too.

How might I randomise the rotation of the arrayed coils along the x axis in the below image?

For reference, they're part of a vending machine. I'd like them to be rotated differently as if individual coils (idk what the actual part of the machine is called so we'll go with coils for now) has spun around when products have been selected.

I figure I can probably apply my array modifiers and then rotate them individually, but I'd like to do it in a non-destructive manner if possible!

Cheers!

https://i.imgur.com/025ZY5i.jpeg

1 love
Reply
  • Dwayne Savage(dillenbata3) replied

    I can't think of a nondestructive way without using Geometry Nodes. You would need to do the array thru Geonodes as well. Here is what I came up with. The grid is the rows and columns of the coils. You only need one coil mesh. It will be instances on each vertex of the grid. The random value will rotate each instance. It's pretty straight forward I think. Adjust the size of the grid to get the right distance between each instance. 4-04-18 18-14-27.png

    1 love
  • Adrian Bellworthy replied

    Yeah I agree with dillenbata3,
    GeoNodes is the way to go!
    Technically GeoNodes is non destructive, as all the magic happens through a Geometry Nodes modifier.

    The Assemble Course will assist you on instancing and positioning geometry (Coils) with GeoNodes, along with Dwayne's example.

    1 love