ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: Parenting an Angle control to 3D layer position

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Filip Vandueren
Re: Parenting an Angle control to 3D layer position
on Oct 30, 2018 at 10:59:22 pm

This seems to work, though I haven't tested it rigorously

l=thisComp.layer("Point Light 1");
pos = fromCompToSurface(l.toComp([0,0]));
ang = Math.atan2(pos[1],pos[0]);

-radiansToDegrees(ang);




Posts IndexRead Thread 


Current Message Thread:





© 2019 CreativeCOW.net All Rights Reserved
[TOP]