2009

To use the Wall Repel behavior:
1 On the Create panel, click Helpers, and click Grid. Create a grid in the
scene.
TIP For best results, do not use Mirror to copy a grid to be used with
behaviors. Use Shift+Clone instead.
2 Move and rotate the grid to position it.
TIP The Wall Repel behavior repels delegates from the grid in the direction
of grid's local Z axis. With the grid still selected, use the Local coordinate
system to see the direction of the Z axis in viewports; the axis arrow points
in the direction of the positive Z axis. Checking the Z-axis direction will speed
the process of setting up the behavior.
3 Select the crowd object, and add a Wall Repel behavior.
4 In the Wall Repel Behavior rollout, click None, and pick the grid.
5 Choose Positive Axis to cause the delegates to be repelled from the Z-axis
side of the grid. You can also choose Negative Axis to repel delegates from
the opposite side of the grid, or Both to repel them from both sides.
6 If you want delegates to be attracted to the grid only when they are within
a specified area in front of the grid (rather than when they are anywhere
in the scene), turn on Use Distance. Use the Inner Distance and Outer
Distance parameters to set the area in which delegates will be attracted
to the grid. Turn on Display Distance to see the distance in viewports.
7 Use
Behavior Assignments on page 4845 to assign the behavior to a delegate
or team.
To use the Repel behavior:
1 Add a Repel behavior to the Crowd object.
2 In the Repel Behavior rollout, use the None button or the Multiple
Selection button to designate the object or objects that are to repel
delegates.
3 Change the default settings as desired.
4 Use Behavior Assignments on page 4845 to assign the behavior to a delegate
or team.
4782 | Chapter 17 character studio