FORUMS: list search recent posts

Delay expression

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Jan Filmofon
Delay expression
on May 16, 2014 at 7:28:54 pm

Hi, does anybody know how to add a delay expression to a null object, which is parented to another null object?
I have Null 01 which is animated. Just position parameter is changing.
Null 02 is parented to Null 01 so it moves with it. I need Null 02 to move the same way as it moves now, but with the small delay...
And... one more thing. This delay should happen in y axis only!
Any comment will be appreciated!
Thanks a lot!

Return to posts index

Walter Soyka
Re: Delay expression
on May 16, 2014 at 8:22:48 pm

Null 2 should not be parented to Null 1. Leave it independent.

Alt-click the position stopwatch and enter something like the following:

[thisComp.layer("Null 1").transform.position[0],thisComp.layer("Null 1").transform.position.valueAtTime(time-.5)[1]]

Translation to English:

Position expects an array of two values, an X and a Y (or three values, X, Y and Z for 3D), so we give it two values in this format: [x,y]

The first value is the X coordinate of Null 1; the second value is the Y coordinate of Null 1, but evaluated half a second ago via valueAtTime(time-.5).

Walter Soyka
Principal & Designer at Keen Live
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
RenderBreak Blog - What I'm thinking when my workstation's thinking
Creative Cow Forum Host: Live & Stage Events

Return to posts index

Jan Filmofon
Re: Delay expression
on May 19, 2014 at 7:05:08 am

Great, this helped me a lot, it´s not exactly what I meant but it was definitely VERY useful! Thank you!

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved