FORUMS: list search recent posts

How link Rotation to different comp?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Ben Peterson
How link Rotation to different comp?
on Aug 17, 2014 at 10:07:00 am
Last Edited By Ben Peterson on Aug 17, 2014 at 10:30:00 am

I need to control the y rotation of my layer from a different comp. I have tried pick wicking to an angle control in other comp and the controller works until I try to keyframe it. I also tried linking to YRot of a null but again I cannot seem to keyframe the movement.

Is there a way to do this. It seems like a very basic thing but I have tried and failed. Can someone please explain in layman's terms how I do this. I know I have to pickwick etc but why is the movement unable to keyframe?


Return to posts index

Dan Ebberts
Re: How link Rotation to different comp?
on Aug 17, 2014 at 5:06:02 pm

This happens if the nested comp layer has been moved in time so that it doesn't start at time = 0. You need to compensate for that by modifying your rotation expression to something like this:

C = comp("Main Comp");
ctrl = C.layer("controls").effect("Angle Control")("Angle");
L = C.layer(thisComp.name);
ctrl.valueAtTime(time+L.startTime)


Dan



Return to posts index

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