FORUMS: list search recent posts

how to use tStart to this expression?

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Jay Mortel
how to use tStart to this expression?
on Jan 18, 2017 at 7:33:35 am
Last Edited By Jay Mortel on Jan 18, 2017 at 9:56:09 am

I have this expression made, and I want it to start after 1 sec, what expression should i use?

delay = 0.05;
t = time+(index+2)*delay;
x = transform.position[0];
y = transform.position[1];
z = thisComp.layer("Layer 4/Boxes.ai").transform.position[2];
[x,y,z*(t)]

thanks!!! 😃

FOUND IT!!! :D

i = index-1;
x = transform.position[0];
y = transform.position[1];
z = thisComp.layer(i).transform.position.valueAtTime(time-0.5)[2];
[x,y,z];


Return to posts index

Walter Soyka
Re: how to use tStart to this expression?
on Jan 18, 2017 at 10:35:52 pm

I would encourage you to check out this article:
http://www.motionscript.com/mastering-expressions/follow-the-leader.html

Your second expression is what's called a "cascading expression." Each time it's evaluated, After Effects must evaluate the expression on the layer above it, which requires After Effects to evaluate the expression on the layer above that, etc. This isn't a big deal with a few layers, but as you get more and more layers in the system, it can get pretty slow to render.

The first expression is significantly faster to calculate, because each one can be evaluated independently. I can help you adjust your expression if you like, but I'm afraid I don't quite understand what you're after here.

Walter Soyka
Designer & Mad Scientist at Keen Live [link]
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
@keenlive [twitter]   |   RenderBreak [blog]   |   Profile [LinkedIn]


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]