The first thing its meant to do is cause dial 2 to chase dial 1s values. An ease in ease out effect.
Ive done this because in software for UIs with simplistic ease. However each attempt of trying to duplicate the method in AEs expressions dont work.
It appears that the expression completely ignores the current or last frame value of the layer the expressions on.
Dial 1 is the RPM the main controller... Speed is dial 2
Code: Select all
speed=this_comp.layer("Speed Dial").transform.rotation; //this I thought captures the current value
rpm=(120/100*(this_comp.layer("RPM Dial").transform.rotation)); // captures current rpm value
speed+(rpm-speed/10) //This should set the value to 10% closer to the target rpm, in UI runtime this would cause a smooth chasing effect of the changing rpm.
What am i doing wrong?