Create panel > Helpers > Object Type rollout > Crowd > Setup rollout > New button > Wander Behavior
Select a Crowd object. > Modify panel > Setup rollout > New button > Wander Behavior
The Wander behavior imparts 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 a new direction, and then turning and moving in 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: Trajectories calculated by the Wander behavior vary significantly for each object to which it's applied. To create a group of wandering delegates all using the same trajectory, apply the Wander behavior to a delegate, solve the simulation, and then replicate the delegate using the Scatter Objects facility with Clone Controllers turned on.
To use the Wander behavior
Add a Wander behavior to the Crowd object.
Change the default settings as desired. Probably the most important is Period, which determines the number of frames between changes of direction.
Use Behavior Assignments to assign the behavior to a delegate or team.
Wander Behavior rollout
Period: Specifies how many frames should elapse before a new direction is chosen. Default=10.
Deviation: Specifies the maximum amount by which Period should vary. Each time a period ends, character studio takes a random number between the negative and positive values of the Deviation setting, multiplies it by the Period setting, and adds the result to Period. Default=0.5. Range=0.0 to 1.0.
Angle: Specifies how far to turn when changing direction. A small value means to change direction only by a small amount, while as the value approaches 1.0 it will randomly turn in any direction. Default=0.5. Range=0.5 to 1.0.
Turn Period: Specifies how long over the current period it takes to turn. A value of 0.0 means that it will rotate as quickly as possible to face a direction and then travel in that a direction, while a value of 1.0 means it will take the entire period to rotate in that direction. Default=0.5. Range=0.5 to 1.0.
Deviation: Specifies the maximum amount by which Angle should vary. Each time a period ends, character studio takes a random number between the negative and positive values of the Deviation setting, multiplies it by the Angle setting, and adds the result to Angle. Default=0.5. Range=0.0 to 1.0.
Seed: Specifies a seed value for randomizing the Wander behavior.
Color Swatch: Shows the color used to draw the Wander force vector during the solution. Click the box to choose a different color.
Display Force: When on, force exerted on the delegate(s) by the Wander behavior is drawn in the viewports as a vector during the simulation solution.