ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Rotate several layers incrementally based on parent layer

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Warren Smith
Rotate several layers incrementally based on parent layer
on Jun 12, 2020 at 2:38:00 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.


Return to posts index

Dan Ebberts
Re: Rotate several layers incrementally based on parent layer
on Jun 12, 2020 at 3:13:55 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



Return to posts index

Warren Smith
Re: Rotate several layers incrementally based on parent layer
on Jun 12, 2020 at 3:36:20 pm

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

Thanks Dan!


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2020 CreativeCOW.net All Rights Reserved
[TOP]