Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Parent layer to child layer

  • Parent layer to child layer

    Posted by Nathaniel Logan on February 6, 2019 at 1:30 pm

    Hi,

    In my recent post, I have found a way to control the child layer with a parent also moving the parent layer independently from its initial position, attaching the code.

    Is it possible to connect two child layers to one parent layer and also animate the parent independently?

    In my case im creating a face rig where i want to control the Left side of face position with a layer and Right side of face with another layer, and also the face can move in its independent direction from its initial position.

    Can you pls help.
    Thanks.
    Much Appreciated

    p = thisComp.layer("parent").transform.position;
    delta = valueAtTime(0) - p.valueAtTime(0);
    p + delta

    Nathaniel Logan replied 7 years, 5 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

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