Skip to main content
Known Participant
December 21, 2018
Answered

Animate multiple objects along path

  • December 21, 2018
  • 2 replies
  • 9205 views

Hi,

I am looking for a way to animate multiple objects along a single path. Like a trail of objects following the same path in a "train".

Same thing that is happening in the second half of this tutorial with text: After Effects Tutorial: Get an object to follow a mask path - YouTube 

But then with objects.

Seems simple enough, but can't find a way.

Thanks in advance,

Anoek

    This topic has been closed for replies.
    Correct answer imeilfx

    Depends on what exactly you wish to animate if you wish to animate multiplication of the first layer i think easiest way would be to just animate first object and use Echo effect.
    Or you can use simple expression for more than one layer (or for multiplication also):

    delay = 2;

    d = delay*thisComp.frameDuration*(index - 1);

    thisComp.layer(1).position.valueAtTime(time - d)

    You have to put that into position value of second and each subsequent one layer. delay =2 that number is number of frames that your layer will be delayed with.

    2 replies

    DigitalSpatula
    Inspiring
    December 21, 2018

    Hi Anoeek

    You can just create the path with the pen tool on a new layer then drill down to the pth parameter, click on the word 'path" and then copy that and paste it into the position parameter of multiple layers. Then just offset the start times of the layers.

    Hope this helps,

    Steve

    AnoeekAuthor
    Known Participant
    December 27, 2018

    Thanks for your reply!

    And sorry that I wasn't very clear with my question, but I was looking for a way to do this without creating a lot of layers, since I have to do this for a lot of layers.

    The echo effect as suggested above works wonders though! Exactly what I was looking for: a simple but effective way.

    imeilfx
    imeilfxCorrect answer
    Inspiring
    December 21, 2018

    Depends on what exactly you wish to animate if you wish to animate multiplication of the first layer i think easiest way would be to just animate first object and use Echo effect.
    Or you can use simple expression for more than one layer (or for multiplication also):

    delay = 2;

    d = delay*thisComp.frameDuration*(index - 1);

    thisComp.layer(1).position.valueAtTime(time - d)

    You have to put that into position value of second and each subsequent one layer. delay =2 that number is number of frames that your layer will be delayed with.