9
1214 Chapter 14: character studio
field to steer around the object by being guided to
travel perpendicular to the field’s vectors. When
used with the Avoid behavior, the delegate simply
movesawayinthedirectionofthevectors.
Tip: Sometimes when using Avoid with a vector
field, the behavior might seem to be "fighting"
with other behaviors (such as Seek) over delegate
movement, causing a h alting and/or wavering
motion. In such cases, try reducing Brake Strength
and/or increasing Falloff.
Strength—Higher va lues result in more powerful
influence. Delegates will be directed to move
perpendicular to the field. Default=1.0. Range=0.0
to 1.0.
Fa lloff—Hig her values cause vector field influence
tofallofftozeromorerapidlywithdistance,thus
focusing its effect closer to the delegate’s hard
radius. Default=8.0.
Display During Solve g roup
Use these sw itches for debugg ing a crowd
simulation. During the solve, they display
information about the simulation using graphical
metaphors for different aspects of the Avoid
behavior.
Potential Collisions—Displays a green line from the
delegate to the location of a potential collision.
Default=off.
Repel Activity—Displays a white line between the
delegate and target when the repel force is in effect.
Default=off.
Look A head R a dius—Displays a sphere that shows
the current distance used to check for potential
collisions.
Co lor Swatch—Shows the color used to draw the
Avoid force vector during the solution. Click the
box to choose a different color. Default=red.
Force—When on, force exerted on one or more
delegatesbytheAvoidbehaviorisdrawninthe
viewportsasacoloredlineduringthesimulation
solution. Default=on.
Or ient ati on B ehav ior
Create panel > Helpers > Object Type rollout > Crowd >
Setup rollout > New button > Orientation Be havior
Select a Crowd object. > Modify pa nel > Setup rollo ut >
Newbutton>OrientationBehavior
The Orientation behavior lets you control whether
and how delegates rotate, independent of their
direction of motion. Normally, a delegate always
faces in the direction it’s moving. You can use
the Orientation behavior to specify limits to the
delegate’s rotational activity without affecting its
path, which is generated by other behaviors. Use
these sett ings, for example, to keep delegates facing
in one direction while mo ving in another.
Note: These sett ings do not affect the path a
delegate takes, wh ich is produced by other
behaviorssuchasSeekandAvoid.Theyinfluence
only the direction it faces as it traverses the path.