N***@adobeforums.com
2008-07-30 17:09:05 UTC
I'm using this simple opacity expression from Adobe Live Docs.
if (toCompVec([0, 0, 1])[2] > 0 ) value else 0
However, if I have two layers (a front and back) and I parent one to the other, this expression breaks down because the child rotation never changes. Same thing if I parent them both to a null and rotate the null.
How can I make it work correctly with a parent layer or null?
if (toCompVec([0, 0, 1])[2] > 0 ) value else 0
However, if I have two layers (a front and back) and I parent one to the other, this expression breaks down because the child rotation never changes. Same thing if I parent them both to a null and rotate the null.
How can I make it work correctly with a parent layer or null?