beautypg.com

Working with simulation behaviors, Using the gravity and edge collision behaviors – Apple Motion 2 Getting Started User Manual

Page 74

background image

74

Chapter 2

The Playground

The two applied behaviors work together so that the object spins as it travels along the
motion path.

Working With Simulation Behaviors

The following section provides a quick introduction to working with the Simulation
behaviors. In the first example, a group of objects is animated to fall and bounce on the
bottom of the screen using the Gravity and Edge Collision behaviors. In the second
example, two methods for animating a group of objects to swirl around a specific
object are discussed. The first method is using the Vortex behavior, and the second
method is using the Orbit Around behavior.

Using the Gravity and Edge Collision Behaviors

Gravity makes an object fall over time at a rate specified in the Acceleration parameter
of the Dashboard or Inspector. Unless the Edge Collision behavior is also applied, the
object falls off of the bottom of the screen. In this example, a group comprised of four
objects (four circles) is used to illustrate the Gravity and Edge Collision behaviors.

Note: Although you can apply the Simulation behaviors to single objects, their
strength is in using multiple objects. Some Simulation behaviors, such as Vortex,
require the existence of other objects in a project to have any effect. (There needs to
be at least one object to circle around the object with the applied Vortex behavior.)

To use the Gravity behavior:

1

Apply the Gravity behavior to an object in your project. In this case, Gravity is applied
to a grouped object that contains four semi-transparent, colored circles.

Gravity behavior applied to group (not to
individual objects of the group)

2505.book Page 74 Wednesday, June 30, 2004 5:58 PM