Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions parent with different compositions

  • parent with different compositions

    Posted by Efi Or on March 2, 2010 at 7:08 pm

    good evening guys.
    I want my null’s rotation will be the same as other footage. the problem is…the null in a different composition, so i cant parent.

    I guess that expressions will be the solution.
    could use some help guys.

    I need to parent only the rotation.

    Ben Peterson replied 11 years, 9 months ago 3 Members · 5 Replies
  • 5 Replies
  • Dan Ebberts

    March 2, 2010 at 7:25 pm

    If you just need the null to get its rotation for the other layer, an expression like this should do it:

    comp(“your other comp”).layer(“your other layer”).transform.rotation;

    If you want it to act like it’s parented to a layer in another comp that’s rotating, that’s a different story and you’ll need to provide more info…

    Dan

  • Efi Or

    March 3, 2010 at 5:19 am

    almost there. the expression is ok. no error when using it.
    I just forgot to mention… its Y rotation.
    so .transform.rotation; wont do nothing.

    need it to parent to the Y rotation.
    how can I do it Dan?

  • Dan Ebberts

    March 3, 2010 at 5:29 am

    Like this:

    comp(“your other comp”).layer(“your other layer”).transform.yRotation;

  • Efi Or

    March 3, 2010 at 1:37 pm

    working. thank you.

    is there any site with guides or video guide for expressions?
    will be better if it will be from the easy to the hard..?

  • Ben Peterson

    August 17, 2014 at 10:14 am

    I tried this but for some reason the null rotation cannot be keyframed. It rotates the layer but when I make two keyframes then preview the layer is not rotating.

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