-
Combine Range mapper with If Else statement
I’m using the following expression to keep the 1st and 4th keyframe the same but modify the 2nd and 3rd with a slider.
Lpos = thisComp.layer("FX - Landing POS").effect("Comp Control")("TuneIn 2")//slider;if (time < key(2).time)
y = ease(time,key(1).time,key(2).time,key(1).value[1],Lpos)
else if (time < key(3).time)
y = Lpos
else
y = ease(time,key(3).time,key(4).time,Lpos,key(4).value[1]);
[value[0],y]
Currently my slider reads 0 for full On and 100 for full Off
I’m having trouble combining a Range mapper so my slider will produce the opposite. Any ideas?
Jason Hearne
Portfolio
Lead Artist/Animator