Repel – Apple Motion 4 User Manual
Page 514
Repel
If you apply the Repel behavior to an object, that object pushes away all other objects
within the area of influence in the Canvas. The strength with which objects are pushed
away can be increased or decreased, as can the distance repelled objects travel.
Before
After
Object with Repel
behavior
You can also specify which objects are affected by this behavior, creating an effect where
only specific objects are moved, while others remain still.
The Repel behavior is the opposite of the Attractor behavior, and is part of a group of
simulation behaviors that create complex animated relationships between two or more
objects.
Parameters in the Inspector
Affect:
A pop-up menu that limits which objects in your project are affected by the Repel
behavior. There are three options:
• All Objects: All objects in the Canvas are affected by the Repel behavior.
• Related Objects: The default setting. Only other objects that are within the same group
as the repelling object are affected.
• Specific Objects: Only objects appearing in the Affected Objects list are affected by the
Repel behavior.
Affected Objects:
A list that appears when Specific Objects is chosen in the Affect pop-up
menu. Drag objects from the Layers tab into this list to be affected by the Attractor
behavior when the Specific Objects option is selected in the Affect pop-up menu. To
remove an item from the list, select the item and click Remove.
• Layer: This column lists the name of the layer containing the object.
• Name: This column lists the name of the object itself.
514
Chapter 9
Using Behaviors