-
Animation is slow – Need advise with the expression.
I need to play a keyframe for a timeRemap of a layer based on the marker from Layer ‘A’. So when the marker is hit by the CTI it should start playing the keyframes for the timeRemap on the 2nd layer.
I have achieved this using following expression, but facing problems:
action2 = comp(“MAIN COMP”).layer(“A”);
m2 = action2.marker.key(1).time
if (time > m2 )
{
ti= linear(time,m2,outPoint,key(2).value,key(3).value);
}
Marker is sitting at 29s
key(2).value is 38s
key(3).value is 40s
Composition = 40 s
If you see from the above timings the expression above works but makes the animation slow. Second if the marker position is changed (Which is expected) to 25secs for example it will make the animation more slower.
Can this expression be fine tuned to give a smooth animation.
Sorry, there were no replies found.