https://forums.creativecow.net/thread/2/1045152Re: Camera shake from a jet flying by the screenby Brendon Murphy on Dec 12, 2013 at 9:59:55 am
You can make this process easier by adding an expression.
First, precompose your scene, and then alt-click the stop watch next to the position property. You'll see an area appear where you can insert text (an expression). Select any text that's there and replace it with "wiggle(x,y)" - not including the quotations. For x, put the number of shakes you want per second. For y, enter the value for how large the shake should be (in pixels).
If you want to control this even more so that the wiggle only happens at a certain time, drop a "Slider Control" effect on your layer. This time make your expression say "wiggle(x," and then drag the pick whip to where it says "slider" on your Slider Control effect. Finish by adding the ")" at the end. It should now read wiggle(x,effect("Slider Control")("Slider"))
Now, the wiggle amount will follow your slider value, which you can keyframe to occur at the right time.
You can check out this documentation for further clarification: