Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects After Effects Expressions

  • After Effects Expressions

    Posted by Camp Pete on August 16, 2005 at 2:52 pm

    Hi,

    I’m having trouble figuring out specific expressions. My main problem it that I want to set a light’s position to that of the camera, but only it’s x and z position, not it’s y…

    Any help would be greatly appreciated.

    Regards

    CP

    Dan Ebberts replied 20 years, 10 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    August 16, 2005 at 3:28 pm

    This should do it:

    p = thisComp.layer(“Camera 1”).position;
    [p[0],value[1],p[2]]

    Dan

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