Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions non-random wiggle

  • Posted by Mike Roberts on February 22, 2012 at 11:06 pm

    hey guys,

    You’d never guess based on this question, but i’ve been using the wiggle expression for years. Basically, is there a way to have wiggle be not random? If i apply a wiggle to a camera, and render the laters separately, sometimes the wiggle changes… is there a way to make the wiggle always be consistent, or do i have to use “The Wiggler?”

    Mike

    Mike Roberts replied 14 years, 2 months ago 3 Members · 6 Replies
  • 6 Replies
  • Dan Ebberts

    February 22, 2012 at 11:23 pm

    It will change, based on where it is in the layer stack, unless you specifically set the random seed before using wiggle:

    seedRandom(1,true);
    wiggle(1,300)

    Dan

  • Brett Schnacky

    February 22, 2012 at 11:25 pm

    If your happy with the way a layer wiggles, you can convert the wiggle expression to keyframes. Select the Layer and Transform property with your wiggle expression, then click the Animation Menu > Keyframe Assistant > Convert Expression to Keyframes.

    Now just copy and paste the keyframes to all the other layers you’d like to have the wiggle, and they’ll be consistent with one another.

    Another way to do this without having to ‘bake’ your expression would be to create a null, put your wiggle expression on the property you want to wiggle, then make this null the parent of all the layers you’d like to effect.

    Hope this helps!

  • Mike Roberts

    February 23, 2012 at 12:32 am

    Ah, that makes sense Dan, Thanks! I’m constantly re-arranging the order of layers. So as long as that random seed is set, it’ll stay consistent?

    Thanks again.

  • Mike Roberts

    February 23, 2012 at 12:34 am

    Thanks Brett.

    Ya, basically, if I render the background of a comp, and then make changes to the other layers, i have to re-render the BG if i add another layer or make changes that change the layering (as dan pointed out).

  • Dan Ebberts

    February 23, 2012 at 12:43 am

    That’s been my experience. I think the seed defaults to index-1, so when you change the layer order you change the seed.

    Dan

  • Mike Roberts

    February 23, 2012 at 1:31 am

    Tanks again Dan,

    Huge help!

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