ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

controlling wiggle expression

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Donald Mitchell
controlling wiggle expression
on Mar 28, 2012 at 11:09:39 am

I have a null with a wiggle expression parenting a camera to add a hand held feel. I want the wiggle to stop at a certain point in the timeline. How do I switch it off? Is it possible to keyframe it off and on?

Return to posts index

Brian Charles
Re: controlling wiggle expression
on Mar 28, 2012 at 12:06:53 pm

One way to control the wiggle is to use an expression slider tied to either the frequency value or the amount of the wiggle.

i.e. wiggle(frequency, amount) is usually written wiggle(3,10)

Here is an example project with expression sliders on a Null Object which are tied to the wiggle frequency and amount. The expression looks like this:

frequency = thisComp.layer("Wiggle Controller").effect("Frequency")("Slider");
amount = thisComp.layer("Wiggle Controller").effect("Wiggle Amount")("Slider");
wiggle(frequency, amount)

Return to posts index

Matthew Keane
Re: controlling wiggle expression
on Mar 29, 2012 at 8:11:52 am


Be careful when animating the frequency parameter as it can lead to unexpectedly jerky results.
Dan Ebberts explains why in this thread:
... and suggests a solution in this one:

Return to posts index

Benjamin Ausmith
Re: controlling wiggle expression
on Mar 30, 2012 at 6:08:23 pm

Another way to create wiggle is to create a keyframe when you want the wiggle to start (probably a position or rotation keyframe) and another one when you want it to end. Select them both. Under Window>The Wiggler, you can have After Effects generate actual keyframes to create your wiggle, instead of an expression that will run it continuously. The advantage is you can easily start/stop/tweak your wiggle, the disadvantage is you have a bunch of messy keyframes.

Benjamin Ausmith
Post-Production Assistant
Monadnock Media, inc.

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved