Jump to content

Assign random materials to groups


Recommended Posts

I have a RBD cached sim with with 99 objects in groups with names like "obj_id_01" and so for.

And I have 3 distinct materials that I´d like to assign randomly to those groups distributing equally, so I would have 3 groups of 33 objects with different materials, but I didn't figure out a way to do it.

Can someone help me?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...