Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Auto Orient not working with expression.

  • Auto Orient not working with expression.

    Posted by Ranveer Singh on June 15, 2021 at 6:20 pm

    I want an arrowhead to follow a path. For which I am using this expression on its position property.
    t=thisComp.layer(index+1).content(“Path”).content(“Path 1”).path;
    l=thisComp.layer(index+1).content(“Path”).content(“Trim Paths 1”).end;

    t.pointOnPath(percentage = l/100, t = time)

    Everything is working fine except the auto-Orient. As soon as the animation completes it stops working. It only rotates the layer if its position velocity is > 0. Otherwise, it sets the layer back to the original.

    Robert Müller replied 4 years, 10 months ago 2 Members · 3 Replies
  • 3 Replies

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