Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Move and rotate along a path

  • Move and rotate along a path

    Posted by John Harper on February 15, 2008 at 5:04 am

    I’m making an animation of a train with 3 cars move along a path on a map of earth. How would I

    A) make the first car move and rotate with the curves of the path
    B) have the last two cars follow behind one another

    and is it possible like in flash to
    C) make a looping animation of the last two cars (just a tiny perspective animation of them teetering back and forth.

    and while I’m at it I guess I’ll keep going…
    How would I make a red line trace the path behind train?

    Any help to any of these questions would be great, I used to know after effects but seemed to have forgotten everything.

    Simon Bonner replied 18 years, 3 months ago 2 Members · 2 Replies
  • 2 Replies
  • Simon Bonner

    February 15, 2008 at 10:11 am

    Checking out the first quarter of an hour or so of the CG Snake tutorial at maltaannon.com will help you with the first two questions. Ok, it’s about animating a snake, but the same principles can apply to a train.

    Simon Bonner

    youtube.com/simonsaysFX

  • Simon Bonner

    February 15, 2008 at 1:39 pm

    As for the red line:
    1) Make a new comp size solid. It doesn’t matter what colour.
    2) Using the pen tool, draw the path you want the train to follow. In case you don’t know, holding down the mouse button and dragging away from a point will make it curve.
    3) Apply the stroke effect to the solid.
    4) Change the colour to red, and any of the other properties you want.
    5) Change the paint style to On Transparent, so you can see the map layer below the solid.
    6) Keyframe the end property to 0% at the start of the animation, and to 100% at the end of the animation. If the train is moving at a constant speed, the stroke will emit from it.
    7) To ensure that the train moves at a constant speed (and along the same path as the stroke) copy the mask and then paste it onto the position property of your train layer. The anchor point of the train layer will stick to the start of the stroke.

    Simon Bonner

    youtube.com/simonsaysFX

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