-
Folding layers like an accordian.
I’ve seen simular posts but none of them have covered this specific expression.
I have 10 layers pearanted together with their anchor points ajoined side by side, all of the layers y rotations are also linkied to the pearant layer, each layer rotates in an oposite direction to the last, I did this by simply adding a – sign to every other link expression by each layer, so as one layer turns right the next layer turns left.
However the layeyrs turning in the oposit direction need to turn by twice as much, as they are already linked to a layer that is turning in the oposite diretion.
Perhaps it might help if I explain how I would write the expression.
Negative rotating layer, (Rotates by the same amount as the control it is linked to but in the oposite direction)
– thisComp.layer(“Ski girl 4 long.avi 2”).transform.yRotation
(This works) but I need it to turn by twice the amount, I gues it would be something like this
– thisComp.layer(“Ski girl 4 long.avi 2”).transform. = 2/ yRotation
But I don’t know what the propper expression should be.
Can anyone help me figure this out?