Copy link to clipboard
Copied
Hi
I've got a main comp with many Picture comps.A cam is flying from one picture comp to the next and so on.Each picture comp is made out of several
pre-comps.one of this pre-comps contains the frame of the picture.(3d layer)
my goal is now this=>if the picture comp(3dlayer) is facing away from the cam in the main comp i'd like that the frame in the precomp changes it opacity from 100 to 0 .
it's similar to Dan's expression http://www.motionscript.com/design-guide/invisible-facing-away.htm but with pre-comps.
any ideas?
cheers
Like this:
if (comp("Main Comp").layer(thisComp.name).toCompVec([0, 0, 1])[2] > 0 ) value else 0
Dan
Copy link to clipboard
Copied
Like this:
if (comp("Main Comp").layer(thisComp.name).toCompVec([0, 0, 1])[2] > 0 ) value else 0
Dan
Copy link to clipboard
Copied
thank youuuuuuuuuuuuu!!!!!!!it works
Find more inspiration, events, and resources on the new Adobe Community
Explore Now