Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Expression to make something float?

  • Expression to make something float?

    Posted by Brittany Halfpenny on November 27, 2007 at 12:44 am

    I was wondering if anyone knows whether there is an expression to make an object look like it is floating. For example, I have a vector graphic of a fish that I want to make look like it is floating. If anyone can help me out that’d be great! Thanks.

    Brittany Halfpenny replied 18 years, 7 months ago 4 Members · 6 Replies
  • 6 Replies
  • Dan Ebberts

    November 27, 2007 at 3:24 am

    Floating on water, or in the air? A slow wiggle() is probably a good place to start.

    Dan

  • Brittany Halfpenny

    November 27, 2007 at 5:46 pm

    It’ll be floating in the water.
    I currently have a wiggle expression of (2,5,1) but it makes the image disappear every so often. It wiggles, but every couple of frames the image disappears and then reappears, so I’m not sure what causes this. I’m not exactly great with expressions either.

  • Mike Clasby

    November 27, 2007 at 6:28 pm

    What do you mean, “but every couple of frames the image disappears and then reappears”?

    Is it going off screen? Too much wiggle.

    If not, if it just vanishes for an instant, is the layer long enough for the comp? Sometimes they get slid left of right a few frames and then when you ram preview you see the gaps.

  • Brittany Halfpenny

    November 27, 2007 at 7:41 pm

    Yea, sorry I wasn’t too specific. It does vanish. It looks like it just vanishes for a couple of frames and then pops back on where it was, wiggles a little bit, and the cycle repeats. And yep, the layer is the right length.

  • Jamie Bradshaw

    November 28, 2007 at 1:42 pm

    Is it a 3D layer? At a guess, the disappearing might be because the wiggle is making it move back behind another layer in the z-plane.

    One solution might be to add a Transform effect, and apply the wiggle expression to the position controller within the Transform effect.

  • Brittany Halfpenny

    November 30, 2007 at 8:02 pm

    Well, it looks like you were right. It does end up shifting behind the background layer. So that has helped.

    Thanks for all the help.

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