-
Force expression value memory
Hello all!
I am stumped… I am wanting to set up two alternating angle controllers that animate at random speeds over time. Easy enough.
Here’s the part I can’t fully figure out. I have two checkbox controls set to Math.sin(index) and -Math.sin(index) so that they alternate. I want these checkboxes to start and stop each angle controller’s animation. Is there a way to somehow set a memory point for the angle controllers so that they animate progressively?
In other words, angle 1 starts animating when checkbox 1 is on, goes for say 200 degrees and then stops as a result of checkbox 1 turning off; the apparent value of angle 1 would still be 200 degrees until checkbox 1 turns on, at which point angle 1 would pick up animating where it left off.
It’s basically like building an engine that animates but has gas and brakes. Or an on off switch.