Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Automate string effect?

  • Automate string effect?

  • Saulo Dal Pozzo

    June 17, 2021 at 11:56 pm

    Hello! I’m wondering if there’s a way to make the earpieces of my character swing along with the head movement automatically, like an expression, or something?

  • Walter Soyka

    June 18, 2021 at 7:16 pm

    Sure, you can link the rotation of the earpieces to the velocity of the head movement with an expression. You can customize the values in the first two lines to get the feel you want, and you should change the third line to point to the position property of the layer you want to track:

    var rotationMax = 80;

    var velocityMax = 3000;

    var trackProperty = thisComp.layer("Circle").transform.xPosition;

    linear(trackProperty.velocityAtTime(time - thisComp.frameDuration/10), -velocityMax, velocityMax, -rotationMax, rotationMax);

Viewing 1 - 2 of 2 posts

Log in to reply.

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