Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions bobbing in water

  • Posted by David Rodriguez on June 18, 2008 at 12:44 am

    I have an animation of a bottle that drops into the sea and then bobs up and down in the waves.
    I have tried applying various gravity/bounce expressions but have yet to make it look realistic. I need an expression that keeps it gently bouncing/bobbing up and down in the sea.
    Any help would be much appreciated.

    David Rodriguez replied 17 years, 11 months ago 2 Members · 2 Replies
  • 2 Replies
  • Mike Clasby

    June 18, 2008 at 3:21 am

    Here’s the ticket for your bobbing bottle:

    https://www.motionscript.com/expressions-lab-ae65/undulations.html

    If you tie parameters like xFreq, xSpeed, etc to sliders you can change the rates of the wave over time and’or expreiment quickly to get the look you want.

    Add the slider, renamed it xSpeed, highlight the 150 in the expression, then pickwhip it the that slider. do it for both the Position and Rotation expressions, then the parameters will be the same like they’re supposed to be for both expression.

    Also for a slider, since the expression down’t like the value zero, you might want to right click on the sldier value the make the Min and max values appropriate, like a min of 1 for xSpeed (avoiding the zero value) and say a top end of 300 or more.

    This is a way cool setup because if you had two or more bottle, they would all respond in order as the wave passed, like his example on the page.

  • David Rodriguez

    June 18, 2008 at 4:54 am

    How did I miss that one? Thanks so much.

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