-
Code newb.Accordion code
So.. the effect I’m going for is an accordion in 3D space where the code is driven by the z axis of the first layer out of 10. However I don’t think I’m even saying this correctly in plain English to attempt to convert it into code.
I’m trying to say:
Alpha is equal to this compositions layer index 1’s z orientation
When Alpha increases, divide it by .75
The new variable cannot go below 0 on the z axisAs it goes down the line I’d like index 2 to follow index 1’s orientation and index 3 to follow index 2’s orientation and so on an so forth.
So I started:
X=0
Y=0
Alpha=thisComp.Layer(1).orientation(2);
thisLayer.orientation(2)=(Alpha/.75);but it says error when I put it in.. I also wonder if I’m suppose to enter this code in the orientation box too..
Please help, frustrated and sad.
X=0
Y=0
Alpha=thisComp.Layer(1).orientation(2);
thisLayer.orientation(2)=(Alpha/.75);