-
easing remapped time between markers
I have got 2 layers. One called “old time” with markers. The other (PreComp) has got the same number of markers but in different position and has to be time remapped using the time of the markers from “old time” layer. I can achieve it with the next code but I can’t easing the interpolation of the movement.
if (marker.numKeys > 0){
t=marker.nearest_key(time).index;
t1=marker.nearest_key(time).index+1;s=thisComp.layer(“old time”).marker.key(t).time
s1=thisComp.layer(“old time”).marker.key(t1).timeif (time>=marker.key(1).time){
ease(time,t,t1,s,s1);
}else{
0;
}
}