Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions dynamic motion using expressions

  • dynamic motion using expressions

    Posted by Curtis Doss on March 23, 2006 at 7:57 pm

    Is there a way to create a “string” of objects that can move through 3D space which can seem to move relatively to the velocity to object 1 in the string? Meaning the space between the objects would be dictated by how fast Object 1 was moved, creating a sort of flexible buffer between the rest of the objects. Secondly is ther a way to then change how many objects are in that same string with out making the string any longer? I know that there is probably a lengthy explanation to this and any help would be much appreciated.

    Thanks for your help.

    Mike Clasby replied 20 years, 1 month ago 4 Members · 3 Replies
  • 3 Replies
  • Mylenium

    March 23, 2006 at 8:02 pm

    https://www.motionscript.com

    Mylenium

    [Pour Myl

  • Dan Ebberts

    March 23, 2006 at 8:37 pm

    I think an expression like this would work for layers 2 thru n:

    totalDelay = .5; // delay of last object (seconds)
    myDelay = totalDelay/(thisComp.numLayers – 1)*(index – 1);
    thisComp.layer(1).position.valueAtTime(time – myDelay)

    As layer 1 speeds up the string will spread out. As you add more layers, the others will squeeze together to make room. The expression assumes there aren’t any layers in the comp except the leader and the followers. Adjust “totalDelay” to get the spacing you want.

    Dan

  • Mike Clasby

    March 24, 2006 at 10:37 am

    This is my favorite of your Follow the Leader Expressions, it’s so organic and loose.

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