Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions disable x, z orientation, keeping y?

  • disable x, z orientation, keeping y?

    Posted by Laco Gaal on July 18, 2012 at 8:48 am

    I have tracked a camera in AE, got a camera with keyframed position, and keyframed orientation values.
    I would like to disable to position movement (deleted all the keyframes), and all the orientation values, except the Y value!

    (I would like to rotate the camera only one axis)

    Is this possible?

    Thank you

    Dan Fredley replied 14 years ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Fredley

    July 19, 2012 at 4:37 am

    You could do it a couple of ways, but one way would be to set this expression for both position and orientation:

    x = 0; // change this to your desired x value
    y = value[1]; // DO NOT CHANGE
    z = 0; // change this to your desired z value
    [x,y,z]

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