Create a decaying oscillation, Quantize – Apple Motion 5.1.1 User Manual

Page 344

Advertising
background image

Chapter 9

Behaviors

344

Create a decaying oscillation

When you apply the Oscillate behavior to an object’s rotation or position, a common effect
is to “decay” or “dampen” the animation over time. This means that the animation gradually
slows or comes to a stop. You can achieve this effect using keyframes to slow the amplitude of
the oscillation.

Decay an oscillating rotation using keyframes

1

Go to the frame where you want the animation to begin, then enable Record (press A).

2

In the Oscillate group of the Behaviors Inspector, set the Amplitude to the maximum value you

want to use in your project.
Note: When Record is enabled, any value change to a parameter using the Inspector, HUD, or
Canvas creates a keyframe.

3

Go to the frame where you want the animation to come to a stop and set the Amplitude value

to 0.

When the object is selected, you can see the dampening of the animation—caused by the
keyframed Amplitude parameter—in the Keyframe Editor (when Animated is chosen from
the pop-up menu above the Keyframe Editor). The following illustration shows the keyframed
Amplitude parameter of the Oscillate behavior superimposed over the resulting change to the
Oscillate curve itself.

Affected Oscillate

behavior curve

Keyframed Amplitude

parameter

Note: The Oscillate behavior must be selected for its curve to be visible in the Keyframe Editor.

Quantize

The Quantize behavior creates an incremental animation in any keyframed or behavior-
influenced parameter. For example, if opacity is animated so an object gradually fades in over
time, you can add the Quantize behavior to make the object become opaque in steps.

Note: The Quantize behavior only works with animated parameters.

Parameters in the Inspector

Step Size: A value slider that defines the size of the steps, based on the units of the parameter
to which it is applied. For example, when Quantize is applied to rotation, the steps are in
degrees (even though this parameter is not a dial control). When applied to position, the steps
are in pixels.

67% resize factor

Advertising