9

1168 Chapter 14: character studio
heading to a specific direction or range, leave
Relative off.
4. To restrict the pitch orientation with respect to
the delegate’s current pitch, turn on Pitch group
> Relativ e. To restrict the pitch to a specific
direction or range, leave Relative off.
5. Change the other default settings as desired.
To us e t he S peed Va r y behavior :
1.
Add a Speed Vary behavior to the Crowd object.
2. Adjust the Center and Deviation as needed to
control delegate speed. Change other settings
as desired.
Solving the Simulation
Afteryouhavesetupbehaviorsfordelegates,you
must solve the simulation to generate keyframes
on delegates. You solve the simulation by selecting
the crowd object and clicking Solve in the Solve
rollout (page 2–1232).
In order to generate the simulation as quickly as
possible, delegate keys are saved after the solution
is run, so there might be a pause between the end
of the solution and return of control of the software
to you. Also, any objects linked to delegates are
hidden during the simulation.
You will most likely have to solve a simulation
several times before it is correct. Watch the
animation after the solution is calculated, correct
behav iors or delegate parameters as necessary,
then solve again.
You can speed up the solution calculation time by
decreasing the frequency of keyframes or screen
updates. You can also view the solution one frame
at a time to help pinpoint trouble areas.
Procedure
To solve a simulation:
1.
Set up a crowd simulation with a crowd
help er, delegates and behaviors. See Assigning
Behaviors (page 2–1159).
2. Select the crowd helper.
3. OntheModifypanel,intheSolverollout,set
theStartSolveandEndSolveparameterstoset
the start and end fr ames for the solution.
4. Click Solve.
Tip: To use the keyboard shortcut for the
Solve button, tur n on the Keyboard Shortcut
Override Toggle and then press the
S key to
run a solution.
Wait a few moments while the solution is
calculated. The progress bar at the bottom of
the screen tells you the status of the solution
process.
To speed up the solution time:
1.
Under Save every Nth Key, set the Positions
and Rotations parameters to a higher number,
such as 5 .
This causes the simulation to set delegate
keyframes every five f rames rather than at
every frame.
2. Increase the Solve rollout > Display During
Solvegroup>Frequencysettingtoahigher
number , such as 100 .
Thiswillcausethedisplaytoupdatewiththe
new delegate locations only every 100 frames.
To tr oubleshoot the simulation:
In a crowd simulation, it is not uncommon for a
short portion of the animation to hav e a unique
problem that doesn’t appear on other frames.
Use Step Solve to analyze short portions of your
simulation when things don’t go as expected.