Home › Forums › Puzzles › Changing materials on every loop of an animation.
What is the puzzle logic for changing materials in an object or background in a scene after every loop of an animation. Let’s assume we have three materials or backgrounds and I am using an animation frame as a trigger.
Thanks in advance.
you could just use two nested puzzles:
on animation “MyAnimation” frame “the end frame”
assign material MyNewMaterial to object(s) “myObjects”
Route 66 Digital
Interactive Solutions - https://www.r66d.com
That works fine if you only want to change the material once. Using your puzzle what if you have three materials and you want to change it every time the animation goes to frame 100 in a loop?
You can add an if else loop. Be sure to add global variable to initialize it.
the other puzzles would be placed after the play animation puzzle.
Hey thanks. I got it to work:-)
Log in / Register