Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Reversing After Effects Expression Value

  • Reversing After Effects Expression Value

    Posted by Scott Horsfall on April 22, 2008 at 10:52 pm

    Quick question here, I’m a little new at After Effects, but here goes.

    I’ve got two wings that are set up and rotated opposite values. I want to rotate both wings at the same time to opposite values. If that makes sense. Think of a bird flying and both wings moving at the same time.

    I set up a null object and rotated it the way I wanted the left wing to rotate/move. I’ve also got the left wing working using the expression thisComp.layer(“Rotation”).transform.rotation . I want the same rotation values to be applied to the right wing, except the opposite/inverse values so that it moves at same time and same way as the left wing.

    Any ideas?

    Nathaniel Logan replied 5 years, 11 months ago 3 Members · 3 Replies
  • 3 Replies
  • Darby Edelen

    April 22, 2008 at 11:52 pm

    Try:


    -thisComp.layer("Rotation").transform.rotation;

    =)

    Darby Edelen
    Lead Designer
    Left Coast Digital
    Santa Cruz, CA

  • Scott Horsfall

    April 23, 2008 at 4:33 pm

    Thanks!

  • Nathaniel Logan

    August 26, 2020 at 10:39 am

    Thanks!

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