Block definition randomization

Hello everybody and thank you for your time.

I have some trees’ blocks distributed in an urban 3D and they are classified by type of three in different layers and blocks. In order to achieve some randomness I have applied a script to rotate them an aleatory angle.

Now I would like to achieve also some randomness inside the same type. My idea would be to have a Block called ‘‘Pine tree’’ and that would correspond to two or three different pine models (different block definitions) that will appear with a random frequency where a ‘‘Pine tree’’ block is placed.

Would that make sense? Anyone has an idea or a different approach to it?

Thank you in advance!

Hello - you’ll need three different block definitions.


Thank you Pascal, and there is some where I can start from to choose a position in the space and then randomize witch one of the independent block definitions appears? Thanks again