Hi guys,
I need your help. I need to choose a random color for my objects. I use Global Variables for colors and I put them into the Structure data type.
For example, I have four white boxes (oject1, oject2, oject3 and oject4). At the beginning of the scene, I want to change their tint randomly, but I need only one color for each object.
Best way I can think is to generate a random number between 1 and 4, then choose a colour based on a mapping between numbers and colours (e.g. 1=blue, 2=green, etc.).