Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions orient layers towards ‘wall’

  • Dan Ebberts

    July 7, 2008 at 8:28 pm

    Do you need the auto orientation to occur on an axis other than the layer’s y axis, and/or do you need it to orient to a direction other than to the front? If not, it might be as simple as applying this to each layer’s y rotation:

    v = toWorldVec([0,0,1]);
    -radiansToDegrees(Math.atan2(v[0],v[2]))

    Dan

  • Johan Hoogendoorn

    July 8, 2008 at 6:11 pm

    Hi Dan,
    it’s double ‘no’, and your expression does the trick
    great, thanks, I can move on..

    Johan

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy