motion graphics eXchange
top

Follow a leader with delay

Thumbnail for: Follow a leader with delay
Having a bunch of layers all distributed in z space. Now the first layer starts to move towards the camera.
After Effects CS3
Useful things
Expressions

Views: 13025
Permalink
visit |  share this  error? 
After a specific time you want to move the second layer to move with the first one, etc.

Name the first layer "leader" and apply this expression to all the other layers position property.

Here is the expression:
//applyTo: position
L = thisComp.layer("leader");
delay = 1.5;
timeToStart = 0;
myDelay = (index - L.index)*delay;
t = time - (timeToStart + myDelay);
if (t > 0){
  delta = L.transform.position.valueAtTime(t) - L.transform.position.valueAtTime(timeToStart);
  value + delta
}else{
  value
}
by Dan Ebberts


(Min. Version: After Effects CS3, Category: Useful things, Type: Expressions)
posted by Indy on Apr 20, 2010

 

Related topics:

Folding Template

Thumbnail for: Folding Template
folding and unfolding template free to use.
Require After Effects CS6
After Effects CS6
Other
Projects (aep)

Views: 34580
Permalink
posted by fsimoni on Nov 05, 2012

Product, Service or App Promotion

Thumbnail for: Product, Service or App Promotion
After Effects Template. Promote your app, product or service
After Effects CS5
Useful things
Projects (aep)

Views: 16562
Permalink
posted by RedSpikeFx on Oct 30, 2012

Clean Logo V2

Thumbnail for: Clean Logo V2
After Effects CS4,CS5,CS5.5 and CS6 template logo reveal
After Effects CS4
Other
Projects (aep)

Views: 20777
Permalink
posted by aedaddy on Aug 19, 2012


 

 

follow us on http://twitter.com/mgxchangegoogle+get in touch on facebook

 

 

Full length video training series presented by motion graphics industry professionals. Click here to visit Motionworks website!