-
better than ease ?
Hi All. I am making a template where the start of an animation is dependant on the size of the text layer, but the ending position is always fixed. I have managed to do everything correctly with the use of nulls and markers to drive the animation. The problem is the movement is not the same because the original animation was using the ease and wizz. Now that I no longer have keyframes is there a way to simulate this movement which seems to be a much steeper curve than regular ease.
here is the code on 1 of my null layers, and it is already using ease as you can see. But its not good enough;
startmarker = thisComp.marker.key(1).time;
endmarker = thisComp.marker.key(2).time;
xinposition = thisComp.layer(“IN”).transform.position[0];
yinposition = thisComp.layer(“IN”).transform.position[1];
xoutposition = thisComp.layer(“OUT”).transform.position[0];
youtposition = thisComp.layer(“OUT”).transform.position[1];
x = ease(time, startmarker, endmarker, xinposition, xoutposition);
y = ease(time, startmarker, endmarker, yinposition, youtposition);
[x,y]
thanks so much