slider control for wiggle...can't figure it out
by doug nash
on
May 18, 2008 at 7:13:27 pm
I don't know why this is so hard for me to figure out. I must be overlooking something simple.
I want to add a wiggle expression to a camera, to approximate a hand-held feel. But I want to be able to increase and decrease that random movement at will. So, I assume I need to use the "Slider Control" effect, correct? But I just can't get this to work right.
Can someone please give me a push in the right direction?
I've searched on this forum, but couldn't find anything that would help me.
Re: slider control for wiggle...can't figure it out by Mike Clasby on May 18, 2008 at 9:19:42 pm
Add a Null (Layer>New>Null Object). Put Effect>Expression Control>Slider Control on the Null.
Add you wiggle expression to the camera's position (Copy the expression, Alt-click the Position Stopwatch, Paste, click outside the box). Typical wiggle expression follows:
wiggle (5,50)
Then highlight the 5 (frequency) or the 15 (amplitude) and pickwhip to the slider on the NULL to get an expression like this:
w = wiggle(thisComp.layer("Null 1").effect("Slider Control")("Slider"),15)
Now the slider controls the frequency so you can keyframe from zero to whatever you want.
For a camera shake you might want just wiggle the x and y, the original expression would look like this:
Re: slider control for wiggle...can't figure it out by Nate Ledet on Jun 19, 2008 at 1:37:04 am
I don't understand why, but I get errors when I follow your instructions.
Maybe my set up is a bit different...
I have a camera and a null object. I have my camera attached to the null object, and I move the null object around. This allows me to move the camera so I can add the wiggle expression to the Position of the camera
Now, when I add another null object, we'll call this Wiggle, I have this code in my Position expression:
w = wiggle(thisComp.layer("Wiggle").effect("Slider Control")("Slider"),15);
[w[0],w[1], value[2]] ;
the layer "Wiggle" DOES have the Slider Control on with Slider within it, but i get this error:
After Effects Warning: Bad Argument: Couldn't find effect named 'Slider Control'