well a layer invisible when facing away from the camera could be a vector. just paste in opacity of text set as 3D.
if (toCompVec([0, 0, 1])[2] > 0 ) value else 0
or fade gradually -courtesy of Dan’s handiwork!
fadeAngle = 35;
v = toCompVec([0,0,1]);
d = length(toWorld(anchorPoint),thisComp.layer(“Camera 1”).toWorld([0,0,0]));
c = v[2]/d;
ease(c,Math.cos(degreesToRadians(fadeAngle)),1.0,0,100)
—
also I got this working which I find incredibly useful.
name your rectangle “End 2” and paste this in rotation of the arrow with an added slider
Now you can use a dummy system so that you can parent objects, and the code will always auto orient to the layer being called to.
follow2 = “End 2”
diff = sub(position,this_comp.layer(follow2).position);
(Math.atan2(diff[1],diff[0]) * 180/Math.PI) + 180+effect(“Slider Control”)(“Slider”)
https://technicolorsoftware.hostzi.com/