Hi there,
For one of my projects, I have a bunch of independent cubes arranged in a grid in my environment. During my animation, I'd like the cubes to randomly switch between 2 shaders independently every 5 seconds. however, I have no idea how to do this in Maya nor how to program in Maya (never touched Mel or Python). An example would be just like the cubes in the environment of
this game.
In something like Unity, I'd imagine it would involve putting all the cubes into an array and programming it to randomly choose a cube and change the shader, then change it back upon switching. I'd like to try finding a way to do this in Maya though since I'm not using other programs for this project.
I'd greatly appreciate any help with trying to programatically animate this.
Replies