Applying Multiple Behaviors to an Object
There is no limit to the number of behaviors you can add to an object. When multiple
behaviors are applied to a single object, they all work together to create a final animated
effect.
380
Chapter 9
Using Behaviors
In general, each behavior applies a value to a specific parameter. The values generated
by all behaviors that affect the same parameters are combined to create the end result.
For example, if you apply the Throw, Spin, and Gravity behaviors to a single object, the
Throw and Gravity behaviors combine to affect the position of the object. The Spin
behavior affects the rotation of the object.