|
|
One way would be to do it like this:
amp = 20;
freq = 1;
ramp = .5;
offset = amp/2;
ease(time,inPoint,inPoint+ramp,0,offset + wiggle(freq,amp/2))
If you want to adjust how close to zero it gets, you could tie the offset variable to a slider:
amp = 20;
freq = 1;
ramp = .5;
offset = effect("Slider Control")("Slider");
ease(time,inPoint,inPoint+ramp,0,offset + wiggle(freq,amp/2))
You could also do it with Math.abs(), but that will give you some pretty sharp bounces at zero:
amp = 20;
freq = 1;
ramp = .5;
ease(time,inPoint,inPoint+ramp,0,Math.abs(wiggle(freq,amp)))
Dan
-----Original Message----- From: James Culbertson
Sent: Wednesday, April 25, 2012 4:01 PM
To: After Effects Mail List
Subject: [AE] wiggle expression - rotation in one direction?
How would I limit a wiggle expression to one direction? For instance, rotation originating at 0 and wiggling in a negative direction, all other wiggle parameters the same.
Thanks,
James
+---End of message---+
To unsubscribe send any message to <ae-list-off@media-motion.tv>
|
|