xantor opened this issue on Jan 24, 2005 · 52 posts
wdupre posted Fri, 30 October 2009 at 12:05 PM
Quote - I have a figure using ERC that has two different actions happening when the dial is turned, is there any way to change the order in which the actions happen?
If I could make the second one happen before the first then the dial would work as it should.
Yes this is the sort of thing that ValueOpMInus is perfect for, set both morphs with hard limits of 0 min and the second morph to 1 max have both morphs refrence a master dial with a standard valueOpDeltaAdd statement than on the first put a valueOpMinus statement refrencing the second morph. basically the valueOpMinus statement tells the first morph to subtract the value of the second morph before referencing the master dial so if the master is set to .5 than the second morph is also .5 and that would make the first morph -5 added to the master which is .5 which means the first would be at zero, only when the second morph stops would the first be able to go into the positive. You can do a whole chain of sequential morphs like that, each referencing all of the previous ones with valueOpMinus statements, though I have found that the more you do in sequence the more difficulty poser has calculating the math I find 6 or 7 work ok but beyond that things get choppy.