Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

AE Expert need : Following a motion path without changing positions

Community Beginner ,
Nov 22, 2019 Nov 22, 2019

Copy link to clipboard

Copied

Hi dudes,

 

A lot of thanks for the AE experts who will answering to me.

It's a problem that I never read a solution on anywhere.

 

So let me explain, I have a lot of objects going out an optical fiber.
All this object have a mandatory starting and ending position.
Instead of animate all theses objects one by one, I wish set them to follow a predefined curved path without changing starting and ending postion, they just need to follow the curve.

 

How i can do this?

Sans-titre-1.jpg

Thanks again.
Val

TOPICS
Error or problem , How to

Views

207
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Advisor , Nov 22, 2019 Nov 22, 2019

Here's a suggestion:

Animate the position of your first layer - it just needs 2 keyframes. Use the Bezier handles to shape the motion path to match your curve. Now also apply this expression to the same layer's position property - adjusting the 'delay' value as you require:

 

delay = 10; //number of frames to delay
d = delay*thisComp.frameDuration*(index - 1);
thisComp.layer(1).position.valueAtTime(time - d)

 

Now add all your additional object layers directly underneath this one.

 

Highlight the

...

Votes

Translate
Advisor ,
Nov 22, 2019 Nov 22, 2019

Copy link to clipboard

Copied

LATEST

Here's a suggestion:

Animate the position of your first layer - it just needs 2 keyframes. Use the Bezier handles to shape the motion path to match your curve. Now also apply this expression to the same layer's position property - adjusting the 'delay' value as you require:

 

delay = 10; //number of frames to delay
d = delay*thisComp.frameDuration*(index - 1);
thisComp.layer(1).position.valueAtTime(time - d)

 

Now add all your additional object layers directly underneath this one.

 

Highlight the position property of your first layer - the one you've just put the expression on - then go:  Edit menu > Copy Expression only. Select all your other object layers and paste. This will copy the same expression to those layers.

 

All layers should now follow the same path with a 10 frame delay.

 

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines