Randomize
Creates a continuous sequence of randomly increasing and decreasing values, based on
the parameters defining the range and type of values generated.
Although the values created with this behavior appear to be random, they’re
predetermined by the parameter settings you’ve chosen. As long as you don’t change
the parameters, the frame-by-frame values created by this behavior remain the same. If
you don’t like the randomly generated values, click the Generate button in the Behaviors
Inspector to pick a new random seed number. This number is used to generate a new
sequence of values.
439
Chapter 9
Using Behaviors
The Apply Mode parameter determines how values generated by this behavior are
combined with other behaviors and keyframes that affect the same parameter. This
provides you with different ways of using a Randomize behavior to modify a parameter’s
preexisting values.
The Randomize behavior is useful for creating jittery effects, such as twitchy rotation,
flickering opacity, and other effects requiring rapid and varied changes over time that
would be time-consuming to keyframe. The Randomize behavior can be modified with
other behaviors, such as Average and Negate, to exercise further control over the values
generated.
Parameters in the Inspector
Amount/Multiplier:
This parameter is set to Amount when the Apply Mode is set to Add,
Subtract, or Add and Subtract, and is set to Multiplier when the Apply Mode is set to
Multiply. This parameter defines the maximum value the Randomize behavior will generate.
Apply Mode:
A pop-up menu that determines how values generated by this behavior
are combined with other behaviors and keyframes that affect the same parameter. This
provides you with different ways of using a Randomize behavior to modify a parameter’s
preexisting values. The options are Add, Subtract, Multiply, or Add and Subtract.
Frequency:
A slider that lets you adjust the amount of random variation per second.
Higher values will generate faster variations, whereas lower values will generate slower
variations.
Noisiness:
Adds an additional overlay of random variance to the Frequency you’ve set.
Higher Noisiness values result in more erratic variations in the affected parameter.
Link:
This parameter appears when you apply this behavior to a two-dimensional
parameter (such as Scale) or three-dimensional parameter (such as Position) that consists
of X, Y, and/or Z values. Turn this checkbox on to keep the behavior’s effect on each value
proportional.
Affect Subobjects:
This parameter only appears when the Randomize behavior is applied
to a parameter of the Sequence Replicator behavior. When Affect Subobjects is selected,
each object has a different random behavior. When Affect Subobjects is deselected, each
object undergoes the same animation.
Random Seed:
A button that lets you pick a new random seed number. This number is
used to randomly generate new sequences of values, based on the other parameters of
this behavior.
Start Offset:
A slider that lets you delay the beginning of the behavior’s effect relative
to the first frame of its position in the Timeline. Adjust this parameter to make the behavior
start later. The units of this parameter are in frames.
440
Chapter 9
Using Behaviors
End Offset:
A slider that lets you offset the end of the behavior’s effect relative to the
last frame of its position in the Timeline, in frames. Adjust this parameter to make the
behavior stop before the actual end of the behavior in the Timeline. Using this slider to
stop the effect, instead of trimming the end of the behavior in the Timeline, freezes the
last random value generated by this behavior for the remaining duration of the object.
Trimming the end of the behavior resets the parameter to its original value.
Apply To:
The Apply To pop-up menu shows the parameter affected and can be used
to reassign the behavior to another parameter.
HUD Controls
The HUD lets you adjust the Amount, Multiplier, Frequency, Noisiness, Link (for
multidimensional parameters), Start Offset, and End Offset parameters, as well as parameter
assignment.
Related Behaviors
•
Random Motion
•
Wriggle