Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions How link Rotation to different comp?

  • How link Rotation to different comp?

    Posted by Ben Peterson on August 17, 2014 at 10:07 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?

    Dan Ebberts replied 11 years, 9 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    August 17, 2014 at 5:06 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

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy