Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US :: FAQ
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
ADOBE AFTER EFFECTS:HomeForumBasicsExpressionsTutorialsPodcastsAE TechniquesCreative Cloud DebateFAQ

Re: Roving objects position?

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Share on Facebook
Respond to this post   •   Return to posts index   •   Read entire thread


Dan EbbertsRe: Roving objects position?
by on Nov 29, 2006 at 5:55:42 pm

If "Layer A" and "Layer D" are the end points, one in-between layer could have a Position expression like this:

A = thisComp.layer("Layer A").position;
D = thisComp.layer("Layer D").position;
A + (D - A)/3;

And the other one like this:

A = thisComp.layer("Layer A").position;
D = thisComp.layer("Layer D").position;
A + (D - A)*2/3;

There are ways to automate it based on layer index if you have a bunch of layers, but this should get you started.

Dan




Posts IndexRead Thread
Reply   Like  
Share on Facebook


Current Message Thread:




LOGIN TO REPLY



FORUMSTUTORIALSFEATURESVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2014 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]