Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Rotate several layers incrementally based on parent layer

  • Rotate several layers incrementally based on parent layer

    Posted by Warren Smith on June 12, 2020 at 2:38 pm

    I’m trying to figure out how to add 2°+ of rotation to several layers all based on a single parent.

    So for example, the parent is at 2° then I want the child layers to be 4, 6, 8, 10 and so on.

    I can’t for the life of me figure out an expression… very new to them.

    Warren Smith replied 6 years, 2 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    June 12, 2020 at 3:13 pm

    Assuming all the layers are contiguous in the layer stack and the parent is on top, something like this might work:

    (index – parent.index)*2

    Dan

  • Warren Smith

    June 12, 2020 at 3:36 pm

    I can’t believe how easy that was! I tried a few and nothing was working.

    Thanks Dan!

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