Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Motion script realistic bounce and overshot

  • Motion script realistic bounce and overshot

    Posted by Philibert Patricot on September 18, 2014 at 8:04 pm

    Hi guys,
    Thanks to read my post.
    I am new on expressions. I am working with the website motion script.com, on the chapter realistic bounce and overshot when I write the following expression on the scale propriety:
    freq = 3;
    decay = 5;

    t = time – inPoint;
    startVal = [0,0];
    endVal = [200,200];
    dur = 0.1;
    if (t < dur){
    linear(t,0,dur,startVal,endVal);
    }else{
    amp = (endVal – startVal)/dur;
    w = freq*Math.PI*2;
    endVal + amp*(Math.sin((t-dur)*w)/Math.exp(decay*(t-dur))/w);
    }

    An error message arrive:

    After effects warning: expected:]
    error occurred on ligne 5.

    If you have some advices it ll be so kind.

    Thanks

    Roland R. kahlenberg replied 11 years, 9 months ago 2 Members · 1 Reply
  • 1 Reply

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