ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

How can I put a composition to follow a time remap.

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Enrique RadaHow can I put a composition to follow a time remap.
by on Aug 17, 2015 at 4:14:27 pm

Hellow this is the first time that I can not find a solution around here or google, so here it goes.

Im animating a 2D character whit a "time remap head turn" so its 3/4 left, Center an 3/4 Right.
And I want to make a diferent pre comp that has the eyes blinking in loop to follow "the head turn"

I know that I can manually chop the pre comp, and adjust position, but I want to save some time on it, any help will be apreciated


Return to posts index

Cassius MarquesRe: How can I put a composition to follow a time remap.
by on Aug 17, 2015 at 5:07:12 pm

You can have another set of eyes animated in the same head turn comp, switched off.

Then you can add an expression to the blinking eyes position using the valueAtTime method to link them to where it should be.

something like:

a=thisComp.layer("Head Turn");
a.layer("eyes guide").transform.position.valueAtTime(a.timeRemap)


Return to posts index

Enrique RadaRe: How can I put a composition to follow a time remap.
by on Aug 17, 2015 at 5:25:15 pm

Umm, this didnt work,

the "eyes guide" should be on the original comp, or the Head turn pre comp?


Return to posts index


Cassius MarquesRe: How can I put a composition to follow a time remap.
by on Aug 17, 2015 at 5:50:49 pm
Last Edited By Cassius Marques on Aug 17, 2015 at 5:53:32 pm

It should go inside the head comp. I'm assuming that in your main comp you have two layers. Your blinking eyes precomp(or layer). And your head turn pre comp.

EDIT: try comp("Head Turn").layer("eyes guide").transform.position.valueAtTime(thisComp.layer("Head Turn").timeRemap)


Return to posts index

Enrique RadaRe: How can I put a composition to follow a time remap.
by on Aug 17, 2015 at 6:03:20 pm

Maybe, there is a way to link position of the eyes, to a especific frame(set by time remap) on the head turn comp?


Return to posts index

Cassius MarquesRe: How can I put a composition to follow a time remap.
by on Aug 17, 2015 at 6:23:39 pm

that's what that expression does. I just tested it here. The first one I posted had some syntax error. The second one, assuming you have the same names, works. What version are you on? Myabe I can upload an example.


Return to posts index


Enrique RadaRe: How can I put a composition to follow a time remap.
by on Aug 17, 2015 at 6:39:08 pm

upload an example will be awesome, am a noob in this thing of expressions.


Return to posts index


Cassius MarquesRe: How can I put a composition to follow a time remap.
by on Aug 17, 2015 at 6:56:35 pm

Hope this helps:

9151_headturn.aep.zip


Return to posts index

Enrique RadaRe: How can I put a composition to follow a time remap.
by on Aug 17, 2015 at 9:31:00 pm

Thanx this works like a charm.


Return to posts index

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