Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE AFTER EFFECTS: HomeForumBasicsExpressionsTutorialsPodcastsMotion GraphicsTrainingCinema 4DFAQ

endless scaling and moving on the z axis

Cow Forums : Adobe After Effects Expressions

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>
endless scaling and moving on the z axis
by Jakob Roques on Jul 2, 2009 at 1:36:49 pm

Hello,

I hope you all understand my english.
sorry if this is allready been posted, but i have some problems with using expressions.
I want a object to scale from zero to endlessly during the composition. And I also want to move the object forward endlessly on the Z axis.

I used this expressions:

Position:
temp = time*-200;

[value[0], value[1], temp]

Scale:

temp = time*300;
[temp,temp,temp]

No problems til now. But, I need the other layers to follow 10 frames later and start at the same startposition and the same scale value (zero) as the first layer.

I hope you get my problem and I one of you can help me fix this.

Respond to this post   •   Return to posts index

Re: endless scaling and moving on the z axis
by Dan Ebberts on Jul 2, 2009 at 2:27:53 pm

Say the layer with your expressions is named "leader" and you have it at the bottom of the layer stack. You could apply a position expression like this to your follower layers:

delay = 10*thisComp.frameDuration;
thisComp.layer("leader").transform.position.valueAtTime(time - delay*index)

Each layer would follow the previous one by 10 frames. Is that what you're after?

For scale it would be:

delay = 10*thisComp.frameDuration;
thisComp.layer("leader").transform.scale.valueAtTime(time - delay*index)


Dan



Respond to this post   •   Return to posts index

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>


FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]