Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE AFTER EFFECTS: ForumAE BasicsAE ExpressionsTutorialsArticlesPodcastsMotion GraphicsTrainingCinema 4D

Re: slider control for wiggle...can't figure it out

Cow Forums : Adobe After Effects Expressions
VIEW POSTS   •   ADD A NEW POST   •   SEARCH   •   CHANGE FORUM
Return to Posts Index   •   Read Entire Thread   •   Reply To This Post


Re: slider control for wiggle...can't figure it out
by Mike Clasby (yikesmikes) 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:

w = wiggle(5,15);
[w[0],w[1], value[2]]

This modified from Dan page here:

http://www.motionscript.com/design-guide/wiggle-1-dimension.html

and linked to the slider, this:

w = wiggle(thisComp.layer("Null 1").effect("Slider Control")("Slider"),15);
[w[0],w[1], value[2]]

To put a slide on the amplitude of how big the shake/wiggle is just highlight the 15 and pickwhip to the slider. That's probably what you want.

The pickwhip is that middle symbol the look like a "@" under the now red expression controlled values.

Also, wiggling the camera's Z rotation a bit can give it a nice (and queasy) feel.




Return to Posts Index   •   Read Entire Thread   •   Reply To This Post


Current Message Thread:




Note: If you are a registered user and you do not see your name and email in the two respective fields above, you may reset your account cookies by clicking here. Your post will not be accepted if the name and email provided above are not currently registered in our database.

Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message   Entire Thread   None  


Message                Add Bold Tag To Message (JavaScript required)

To put any item inside this tag:

1. Highlight the desired text
2.Click this buttonAdd Italic Tag To Message (JavaScript required)

To put any item inside this tag:

1. Highlight the desired text
2.Click this buttonAdd Underline Tag To Message (JavaScript required)

To put any item inside this tag:

1. Highlight the desired text
2.Click this buttonAdd Image Link Tag To Message (JavaScript required)

To put any item inside this tag:

1. Highlight the desired text
2.Click this buttonAdd URL Link Tag To Message (JavaScript required)

To put any item inside this tag:

1. Highlight the desired text
2.Click this button

Note: The following characters are HTML command characters, and may cause parts of your post to disappear, if not used correctly: < > &. To include any portion of the post in your response, highlight the desired text and hit the "Q" key. For more on how to post, click here.


Add your message signature


 


Note: By clicking "Post Direct" button above, you are agreeing to the Creative Cow's Code of Conduct.



FORUMSLIBRARYPODCASTSBLOGSMAGAZINESERVICESNEWSLETTERSNEWSSTOREEVENTS

© CreativeCOW.net All rights are reserved.

[Top]