9
Motion Parameters Rollout 1185
parameter). A value of 0 specifies no slowdown ; a
value of 1 tells the delegate to stop. Default=0.3.
Thealgorithmcomputesavalue,d,whichgoes
linearly from 0 to (1 - Decel Weight) as the turn
angle of the delegate goes f rom 0 to the Tur n Angle
specified by the user. The speed of the delegate
is then multiplied by d. For example, when the
delegate turns at the Turn Angle or greater, its
speed will be multiplied by (1 - Decel Weight),
slowingitdownasmuchaspossiblebasedonthis
parameter. When the delegate is not turning at
all, its speed is not affected by the De cel Weight.
Whenthedelegateisturningathalfthespecified
Turn Angle, d = Decel Weight / 2, so its speed will
be multiplied by (1 - Decel Weight / 2).
Asapracticalexample,takeadelegatetraveling
at 10 units/frame. Decel Weight is set to 0.4, and
At Tur n Angle is set to 30. When the delegate has
turned 15 deg rees (ha lf the At Turn Angle), the
effective deceleration weight is 0.2. Subtract that
quantit y from 1 to get 0.8, and then multiply t hat
times the delegate’s speed to get 8 units per second
halfway into the tur n . At the full turn (30 degrees),
the delegate t ravels at 6 units per frame.
At Turn Angle—Specifies the turn angle at which
DecelWeight’sfullslowdowneffectisapplied.
Default=10.0.
IfthecurrentturnangleislessthanAtTurnAngle,
the algorithm divides the latter by the former, and
then div ides the Decel Weight setting by the result
to derive the effective deceleration weight.
Decel(eration) Weight—Specifies how much the
delegate should slow down when moving at an
upward slant. Default=0.1.
See Decel Weight for a full explanation.
At Incline Angle—Specifies the upw ard slant angle
at which Decel Weight’s full slowdown effect is
applied. Default=90.0.
Accel(eration) Weight—Specifies how much the
delegate should speed up when moving at a
downward slant. Default=0.1.
See Decel Weight for a full explanation, taking into
account that Accel Weight produces a speedup
effect rather than a slowdown. Thus, the effective
acceleration weight is added to 1, not subtracted
from it.
At Decline Angle—Specifies the downward slant
angleatwhichAccelWeight’sfullspeedupeffectis
applied. Default=90.0.
Turning group
These par ameters affect the delegate’s tur ning
behavior; that is, how it changes di rection in
response to forces applied by crowd behaviors.
Yo u c a n u s e t h e Orientation behavior (page
2–1214) to affect how a delegate turns and banks,
independently of the actual p ath ta ken.
Turn ing applies to objects mov ing b oth on the
ground and in the air.
Max Turn Velocity—Specifies the maximum
number of degrees a delegate can turn per fr ame.
Applies both to heading and pitch. Default=30.0.
Max Tur n Accel—Specifies how much the delegate’s
heading or pitch angle can change per frame. This
controls angular acceleration and deceleration. For
smooth turns, keep it relatively low. Default=3.0.
Tip: If a delegate exhibits sluggish turning behavior
during a simulation, try increasing Max Turn
Velocity, Max Turn Accel, or b oth.