-
2 sided layer…my god
Hey! When I change the x rotation 180 degrees to flip the circle.. the expression i have doesnt change the color in time. any tips?
try {
layerCameraVec = comp("Green 2 Color").activeCamera.position - to_world(anchor_point);
layerCompVec = to_world_vec([0,0,1]);
a = radians_to_degrees(Math.acos(dot(layerCameraVec,layerCompVec)/length(layerCameraVec)));
if (a < 90)
0
else
transform.opacity}
catch(err)
{
if (toCompVec([0,0,1])[2] > 0)
transform.opacity
else
0
}