Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Face the camera

  • Posted by Paul Hamrick on May 3, 2007 at 12:53 am

    I remember seeing a tutorial a while back where one of the elements was an expression that made all layers “face the camera”.

    In other words the expression caused layers to orient an axis (X or Y) to be 90 degrees to the camera.

    I’m weak with writing my own expressions, does anyone have suggestions how I might go about doing this, or remember the tutorial?

    Thanks a bunch!

    Paul Hamrick replied 19 years ago 2 Members · 2 Replies
  • 2 Replies
  • Filip Vandueren

    May 3, 2007 at 9:09 am

    You can simply use ‘auto-orientation’ on a 3d-layer. No expression needed.
    The expressions equivalent would be to use the lookAt() function on the orientation of the layer.

    Both are described in the manual 😉

    Or Dan wrote an expression that limits the behaviour to just 1 axis:

    https://www.motionscript.com/design-guide/auto-orient-y-only.html

  • Paul Hamrick

    May 3, 2007 at 9:01 pm

    Thank you! That’s the tutorial that I was thinking of and couldn’t remember enough detail to Google it successfully. I did remember something about “drift” in one axis when using auto-orient that made using an expression desirable.

    Thanks again, this is exactly what I needed!

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