Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions How to change the position of an object with easy movment with expresions

  • Dan Ebberts

    September 7, 2011 at 4:44 pm

    I had the ease backwards. This might help:


    center = [thisComp.width,thisComp.height]/2;
    dur = .2;
    v = value;
    if (marker.numKeys > 1 && time > marker.key(2).time){
    t = time - marker.key(2).time;
    v = easeIn(t,0,dur,center,value);
    }else if (marker.numKeys > 0 && time > marker.key(1).time){
    t = time - marker.key(1).time;
    v = easeOut(t,0,dur,value,center);
    }
    v

    Dan

  • Marcelo Cabral

    September 7, 2011 at 11:53 pm

    Hi Dan
    Thanks for all. The expression works really good.
    I appreciate your help.

    Best regards

    Marcelo

Page 2 of 2

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