Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions quick wiggle issue

  • quick wiggle issue

    Posted by Tom Gomez on August 8, 2012 at 9:21 am

    Greetings Folks,

    I’ve got a simple “follow the leader” expression linked to sliders on a control layer.

    By the end of the expression it figures out what its position needs to be, which is great. But in addition to following the layer above it, I also want it to wiggle. I have no idea where to go from there.

    THANKS MUCH!!!!

    -Tom

    a=thisComp.layer("SQUARES - right hand").effect("wiggle a")("Slider");
    b=thisComp.layer("SQUARES - right hand").effect("wiggle b")("Slider");
    w=wiggle(a,b);
    delay = thisComp.layer("SQUARES - right hand").effect("follow delay")("Slider");
    d = delay*thisComp.frameDuration;
    thisComp.layer(index - 1).position.valueAtTime(time - d)

    ================================================
    YOU can help save TimeSpace. Join the Chronos Protectorate!

    https://www.95ers.com
    https://www.SpaceAceMedia.com

    Tom Gomez replied 13 years, 9 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    August 8, 2012 at 1:22 pm

    I haven’t tested this, but try changing the third line to this:

    w=wiggle(a,b)-value;

    and the last line to this:

    thisComp.layer(index – 1).position.valueAtTime(time – d) + w

    Dan

  • Tom Gomez

    August 8, 2012 at 8:36 pm

    PErfect!!!! thanks so much.

    ================================================
    YOU can help save TimeSpace. Join the Chronos Protectorate!

    https://www.95ers.com
    https://www.SpaceAceMedia.com

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