-
Staggered layer rotation with min/max
Hi All,
I’ve been trying to piece this together for a few hours.I have six layers. I want them to rotate from 0 to 900 degrees as I drag a slider. BUT…I want the rotations to be staggered according to the layer index.
So, my plan was to do something like below.
So…my Y Rotation slider value (which would be animated from 0 to 900), minus the layer’s index multiplied by the delay slider value.
This works well…the only issue is that when the Y Rotation slider is at zero, my higher index layers are negatively rotated, and then when the slider reaches 900, none of the layers are rotated all the way, and if I rotate beyond that, they keep on going.
I need some way to set a max of 900, and a min of 0 for the rotations of each of the layer.
Any thoughts?
Thanks!
-JthisComp.layer("Controls").effect("Y Rotation")("Slider") -
index*thisComp.layer("Controls").effect("Y Rotation Delay")("Slider")
Editor, Producer, DP
JustinCrowell.com