Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions expression to oscillate Y rotation

  • expression to oscillate Y rotation

    Posted by Zach Meissner on July 20, 2010 at 7:06 pm

    I have a 3d null object that is simply keyframed on the Y rotation every 15 seconds to go from 0 to 15 then back to 0 on the next keyframe. So I’m wondering what’s the easiest way to make an expression for something like this? It’s just a simple ‘back and forth’ setting, but I’m not sure how to do it.

    http://www.lab316.com

    Zach Meissner replied 16 years ago 2 Members · 2 Replies
  • 2 Replies
  • Kevin Camp

    July 20, 2010 at 7:25 pm

    so you have your 3 keyframes, and you just want to loop that animation…?

    an easy way is to keyframe it like you have, then loop the keyframes with a simple loopOut() expression…

    enable expressions for that property and enter this expression:

    loopOut()

    and it will loop your keyframed animation.

    you could use just two keyframes (values 0 & 15), then modify the expression:

    loopOut(‘pingpong’,2)

    ‘pingpong’ is the style of loop or loop behavior and 2 is the keyframe index of the last keyframe (if you had 3 keyframes, the the index would be 3)

    for other types of loop expressions and ‘types’ of loops that can be defined see this page:
    https://help.adobe.com/en_US/AfterEffects/9.0/WS3878526689cb91655866c1103906c6dea-79f8a.html

    Kevin Camp
    Senior Designer
    KCPQ, KMYQ & KRCW

  • Zach Meissner

    August 5, 2010 at 5:28 pm

    Thanks Kevin! I’m trying to apply this same theory to this project. Take a look at 1:52-1:58 of this video at the bottom of the page: https://about.dtnpf.com/ag/products/producer/grains/

    Can i use this expression to set the first panel to pop out, then the rest to follow?

    What expression can i use to start the first panel pop out then the rest follow? It’s just using the Z axis to come forward.

    http://www.lab316.com

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