Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Delaying Parented Rotation

  • Delaying Parented Rotation

    Posted by Corey Branigan on October 27, 2017 at 9:17 pm

    Hi all! I’m trying to wrack my brain around this:
    I want a character’s hat to have an inertial bounce that follows the head such as:
    Head rotates 5 degrees. 2 frames later, the hat rotates 5 degrees, giving the illusion of physical drag.

    I’ve tried modifying Inertia Bounce and Afterease expressions, but these use Key data, not parented/expressed data. I’ve also read the motionscript.com page: Creating Trails, with no practical re-application. I’ve gotten to apply a delay to rotation, but just barely. I’ve even tried to link World Data with nulls to no avail.

    If you have any insight on how to make this work, please let me know, thank you!

    Darryl Ashe replied 6 years, 4 months ago 3 Members · 2 Replies
  • 2 Replies
  • Demarc Johnson

    November 8, 2017 at 7:12 pm

    You can use the valueAtTime method to do a delay in the hat’s rotation. The valueAtTime method offsets a property’s value by time.

    var delay = thisComp.frameDuration * 2; //This will delay the frame by 2, but you can change it to whatever number you want
    thisComp.layer("Head").transform.rotation.valueAtTime(time - delay); //Pick whip the head's rotation and add the valueAtTime method, then subtract time with the delay variable in the parenthesis.

    For Expression Tutorials:
    https://www.youtube.com/channel/UCe77szX2n1WSKsGs-2gmbDw

  • Darryl Ashe

    January 8, 2020 at 5:13 pm

    Hey man

    Thanks for this – I have this applied to some hair behind the head, so as the head rorates the hair is slightly behind. Is there a way to add any easing to the expression? to make the childs rotation smooth in and out.

    Thanks

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