Forum Replies Created

  • Drew Johnston

    August 28, 2011 at 1:35 am in reply to: Bouncy effect when an object stops moving?

    Thanks so much, this saved my life. I can use it now and my animation looks so much better!!

  • Drew Johnston

    August 25, 2011 at 11:55 pm in reply to: Bouncy effect when an object stops moving?

    Thanks for your help, I found what I think is the perfect expression but it doesn’t seem to work. I’ll copy and paste it below. it was found from this URL where they give an example: https://lesterbanks.com/2011/01/swinging-kinetic-text-expressions-for-after-effects/

    A user commented and said that the expression’s minus signs are dashes and that is why it is not working. How on earth do you type a minus sign? I have a macbook pro and there is only one version of a minus sign and its not working (i guess its a dash.

    Any thoughts?

    // Inertial Bounce (moves settle into place after bouncing around a little)
    n = 0;
    if (numKeys > 0){
    n = nearestKey(time).index;
    if (key(n).time > time){
    n–;
    }
    }
    if (n == 0){
    t = 0;
    }else{
    t = time – key(n).time;
    }
    if (n > 0){
    v = velocityAtTime(key(n).time – thisComp.frameDuration/10);
    amp = .02;
    freq = 3.0;
    decay = 5.0;
    value + v*amp*Math.sin(freq*t*2*Math.PI)/Math.exp(decay*t);
    }else{
    value;
    }

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