8
1074 Chapter 14: Character Studio
and Particles & Dynamics categories to crowd
members.
In particular, use the Space Warp behavior to tie
delegates to a
Ve c to r Fi e l d s p a c e w a r p
, so that they
avoid penetrating an irregularly shaped object
while following its contours.
Inter face
None (la bel)—Click this button, then select a space
warp object.
Co lor Swat ch—shows the color used to draw the
Space Warp force vector during the solution. Click
the box to choose a different color.
Display For ce—When on, force exerted on the
delegate(s) by the Space Warp b ehavior is drawn
in the viewports as a vector during the simulation
solution.
Speed Vary Behavior
Create panel > Helpers > Object Type rollout > Crowd >
Setup rollout > New button > Speed Vary Behavior
Select a Crowd object. > Mod ify panel > Setup rollout >
New button > Speed Vary Behavior
The Speed Vary behavior is useful for objects
whose velocity changes at random as they move,
such as sightseeing tourists. Its par a meters let you
specify how often a delegate should change speed,
what speed range it should look at for a new speed,
and how long it should accelerate to get to that
new speed.
Interfa ce
Time group
Per iod—Specifies how many frames should elapse
before a new speed is chosen.
Devia tion—Specifies the maximum amount by
which Period should vary.
Each time a period ends, character studio takes a
random number between the negative and p ositive
values of the Deviation setting, multiplies it by
the Period sett ing , and adds the result to Period.
Default=0.5. Range=0.0 to 1.0.
Speed group
The mathematical formula for the new speed
is as follows: new speed = (delegate’s Average
Speed*Center)*(1 + RN*Center D eviation), where
RN is a random number between -1 and 1.
Cent er—Specifies the speed the delegate should
change to . Center is a multiplier: A value of 0.0
means to stop, a value of 1.0 means to move at its
average speed
,andavaluegreaterthan1.0means
to move faster than its a verage speed. Default=1.0.
Range=0.0 to 99,999.0.