Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Position Drift Offset … rate, time expression

  • Position Drift Offset … rate, time expression

    Posted by Marc Trzepla on June 2, 2005 at 3:12 pm

    I have a layer placed in space. I now want it to drift without adding position keyframes. Say, move right along X a distance value in a specific time, never stopping.

    Thanks,

    marc

    Dan Ebberts replied 21 years, 1 month ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    June 2, 2005 at 3:44 pm

    Play around with this:

    xDist = 150; // x travel distance (pixels)
    startTravel = 1; // time to start travel (seconds)
    travelDur = 2; // duration of travel (seconds)

    linear(time,startTravel,startTravel+travelDur,value,value+[xDist,0]);

    Dan

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