Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions marker triggers leader animation

  • marker triggers leader animation

    Posted by Peter Zeet on August 12, 2013 at 7:27 pm

    so…
    I have a “leader” null with an animated slider on it
    And other layers which I would like to mimic that slider keyframes when timeline reach a marker..
    I tried to mess a bit with the markers but obviously it doesn’t work (the slider controls their A to B position):
    It should go on each layer’s position:

    slider = thisComp.layer("lead").effect("go")("Slider");
    init=effect("init")("3D Point");
    end=effect("end")("3D Point");

    n = 0;
    if (marker.numKeys > 0){
    n = marker.nearestKey(time).index;
    if (marker.key(n).time > time) n--;
    }
    if (n == 0){
    value;
    } else {
    t = time - marker.key(n).time;
    a=linear(t*slider,0,100,init,end);
    a

    }

    The animation goes from the marker, but doesn’t mimic the leader keyframes or animation curves…

    Any advice is welcome!

    Peter Zeet replied 12 years, 9 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy