Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Animate camera in 2 axis

  • Animate camera in 2 axis

    Posted by Joakim Åberg on February 17, 2008 at 12:42 pm

    I´m trying to animate 3d-camera in only 2 axis (x and z) but when I have animated it and preview it, it changes position in y-axis between the keyframes. It´s like there is some unwanted curve between the keyframes, I´ve tried to apply linear keys but it doesn´t change anything. Does anyone know how to fix this?

    Nate Hanson replied 18 years, 2 months ago 3 Members · 5 Replies
  • 5 Replies
  • Mike Clasby

    February 17, 2008 at 8:16 pm

    You’re probably right it must be an interpolation thing.

    First keyframe the camera move, then add this expression to the camera’s Position:

    x = position[0];
    y = 240 //my always maintained never wavering y;
    z = position[2];
    [x,y,z]

    Choose the y you want to stay put.

  • Mike Clasby

    February 17, 2008 at 8:20 pm

    Ooops, I thought I was in the expression forum, so if you don’t know how to add an expression:

    1) Copy the expression
    2) Alt Click the Camera’s Position Stopwatch
    3) Paste
    4) Click outside the box

    The numbers for position will now turn red (controlled by an expression). The keyframed x and z values will be used and your y will stay where yo tell it to.

  • Joakim Åberg

    February 18, 2008 at 10:01 am

    Thanks. Though I wonder why the camera changes position in y-axis.. Is there a way to separate the x, y and z axis position so that you can key them separatly?

  • Joakim Åberg

    February 18, 2008 at 11:06 am

    I found a solution in this tutorial:

    https://www.videocopilot.net/tutorials.html?id=26

  • Nate Hanson

    February 28, 2008 at 5:48 pm

    There is an effect called (strangely enough) Separate X, Y, Z. It does exactly that. Once the effect is applied, you can animate each axis individually without the problems you were having earlier. I know the Andrew Kramer tutorials cover this at some point, but it wasn’t in the one you mentioned.

    Hope that helps!

    Nate

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