Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Key frames – move by twos.

  • Key frames – move by twos.

    Posted by Y. Bar on June 3, 2009 at 8:54 am

    Hello,
    Is there a convenient way of making the transition between 2 keyframes occur not smoothly (frame by frame) but on a 2-frame basis ? (a change every 2 frames).

    Thanks,
    Y.

    Darby Edelen replied 17 years, 2 months ago 3 Members · 2 Replies
  • 2 Replies
  • Roland R. kahlenberg

    June 3, 2009 at 10:23 am

    Select your keyframes and open up the Wiggle Animation Assistant. Set the Frequency to one half of your comp’s framerate and set magnitude to 0.000000001. Then click Apply. Then select all the keyframes and right-click on any keyframe and select Toggle Hold Keyframe.

    HTH
    RoRK

    broadcastGEMs – AEPro Volume 02 (Professional Adobe After Effects Project Files – Now Available).

    Adobe After Effects Training in South East Asia.

  • Darby Edelen

    June 3, 2009 at 9:59 pm

    Apply this expression if you’re working with position keyframes:


    n = 2;
    posterizeTime(1/n/thisComp.frameDuration);
    transform.position

    If you want this stuttered motion to occur only between two keyframes it might get a little more complicated:


    n = 2;
    k1 = key(1).time;
    k2 = key(2).time;
    if((time<=k2)&&(time>=k1)) posterizeTime(1/n/thisComp.frameDuration);
    transform.position;

    This would only apply the stuttering motion between the first and second keyframes as defined by the number in the key(x) parentheses.

    When using the posterizeTime() function you can’t use the ‘value’ parameter to return the posterized value, so you’ll have to pickwhip the property to itself to generate the last line (i.e. “transform.position”).

    Darby Edelen

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