FORUMS: list search recent posts

Accessing a layers position data in a looped pre comp?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
james lashmar
Accessing a layers position data in a looped pre comp?
on Mar 7, 2014 at 10:35:27 am

So i have a shape layer with an animated position copied and pasted from a path. This is preComped, time remapped and looped. This preComp is also preComped again within a master comp. So essentially two comps deep.

I want to take the position of the original shape layer and apply it to a null (that is in the master) so that is at the current position that the shape layer is at the current time within the master comp, if that makes sense?

How can i do this please?


Return to posts index

james lashmar
Re: Accessing a layers position data in a looped pre comp?
on Mar 10, 2014 at 8:12:03 pm

Here's a sample of what i'm trying to achieve. Ae is CS6.

I would just like to apply the shape layers position to the corresponding nulls in the master comp.

http://www.mediafire.com/download/1fox5vex3jz2fyz/preComp_layerPos.aep


Return to posts index

Jeff Bobbington
Re: Accessing a layers position data in a looped pre comp?
on Mar 12, 2014 at 1:57:39 pm

Could try copying your animated layer to your new comp, but make sure that theres a position keyframes lining up with the start and end points of the comp which you have timelooped.
Then add the expression 'loopOut()' to the animated position.
This will make the animation loop intime to your timelooped comp.

Then just replace your animated layer with a null layer. (create a null, find it in your project window, select your animated layer on the timeline and alt drag the null from the project window into the timeline window, it should replace it. Then just make it invisible)


Return to posts index


james lashmar
Re: Accessing a layers position data in a looped pre comp?
on Mar 12, 2014 at 1:59:14 pm

Thanks for the reply Jeff. However, the timelooped comp is also timeremapped so this wouldn't work :(


Return to posts index

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