Add this to rotation and replace the first line reference to your layer.
L = thisComp.layer(“other layer”); //replace the layer we’re looking at;
p1 = L.transform.position;
p2 = transform.position;
dir = p1 – p2; radiansToDegrees(Math.atan2(dir[1], dir[0])) + value;

-%
-%
00hrs : 00mins : 00sec
Sale sitewide
Shop now