Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Need help! Move along x continuoulsy over time.

  • Need help! Move along x continuoulsy over time.

    Posted by Wes Ball on July 18, 2007 at 10:34 pm

    Fairly new to expressions here.

    I’m trying to continuously move a null along the x axis at a slow speed.

    I’m making a long timeline that scrolls across the screen for about 2 minutes, with various items parented to the null.

    Seems like an expression is the way to go, but I can’t figure it out.

    I’d be incredibly greatful to anyone who can help me here.

    Wes Ball replied 18 years, 9 months ago 2 Members · 4 Replies
  • 4 Replies
  • Lord Scales

    July 18, 2007 at 11:14 pm

    [wesball] “I’m trying to continuously move a null along the x axis at a slow speed.”

    For a 2D Layer, this is very simple to achieve, if you want straight motion.

    vel = 150; //speed of the movement. Change as you want
    [time * vel, value[1]]

  • Wes Ball

    July 18, 2007 at 11:17 pm

    cool. That is simple.

    will this work for a 3D layer as well?

    Thanks so much.

  • Lord Scales

    July 19, 2007 at 12:13 am

    For 3D layers, we should just add a value for the z axis, like this:

    vel = 150; //speed
    [time * vel, value[1], value[2]]

  • Wes Ball

    July 20, 2007 at 4:23 am

    Sweet! It all works beautifully.

    Thanks.

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