Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Parenting without parenting

  • Filip Vandueren

    May 6, 2009 at 11:00 am

    I can only get it to work if you keyframe position and rotation, it would reference back to the situation at time=0 because we need a fixed state that describes the relative position between child and parent.

    position:

    my_parent=thisComp.layer("Null 2");

    child_attach_point=my_parent.fromComp(position, t = 0);
    new_position=my_parent.toComp(child_attach_point);

    rotation:

    my_parent=thisComp.layer("Null 2");

    value+my_parent.rotation

    Another approach would be to define child_attach_point as a fixed value, or as a control_point on the parent, that way you can start tweaking immediately without keyframing at time=0.

    Am I making sense ?

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