8

Wander Behavior 1083
Fa lloff—
Therateatwhichtheattractingforce
diminishes between the Inner Distance and the
Outer Distance. Default=2.0.
A va lue of 1.0 indicates a linear falloff. Higher
values cause the strength to fa ll off to zero more
rapidly with distance, thus focusing its effect
closer to the Inner Distance. Lower va lues reduce
the rate of diminishment, with a Falloff setting of
0.0indicatingthatthestrengthisthesameatthe
Outer Distance as it is at the Inner Distance.
Display Distance—Shows the inner and outer
distance settings as g rids offset f rom the t arget grid
in the viewports. The Inner Distance grid is light
blue, while the Outer Distance grid is blue-white.
Default=on.
Grid Spacing—Alters the spacing of grid lines used
to draw the Inner/Outer Distance grids. The lower
the v alue, the closer the spacing. D efault=500.
End f or ce a t gr id edges—When on, the force
emanates only from the grid object. When off,
the force emanates from an imaginar y infinite
grid created by extending the grid plane in a ll
direct ions.
Co lor Swat chShows the color used to draw the
Seek force vector (and, if used, the r adii) during
the solution. Click the box to choose a different
color. Default=violet.
Display For ceWhen on, force exerted on the
delegates by the Seek behavior is drawn in the
viewports as a vector during the simulation
solution. If Use Radii is turned on, the radii are
also displayed when the force is active.
Wander B ehavior
Create panel > Helpers > Object Type rollout > Crowd >
Setup rollout > New button > Wander Behavior
Select a Crowd object. > Modify panel > Setu p rollout >
New button > Wander Behavior
The Wander behavior impar ts a random motion
to delegates, letting you simulate meandering
activity in which delegates move and turn in a
haphazard manner. It works by randomly picking
anewdirection,andthenturningandmovingin
that direction. You can specify how often to pick
a new direction, how far to turn, and how fast or
slow to turn while moving.
Tip: ThetrajectorycalculatedbytheWander
behavior varies significantly for each object to
which it’s applied. To create a group of wandering
delegates all using the same trajectory, apply
theWanderbehaviortoadelegate,solvethe
simulation, and then replicate the delegate using
the
Scatter Objects (page 2–1040)
facility with
Clone Controllers turned on.
Procedure
To use the Wander behav ior:
1.
Add a Wander behavior to the Crowd object.
2. Change the default settings as desired. Probably
the most important is Period, which sets
thenumberofframesbetweenchangesof
direction.
3. Use
Behavior Assignments (page 2–1052)
to
assign the behavior to a delegate or team.