9
1234 Chapter 14: character studio
Delete K eys before S olve—
Deletes the keys of active
delegates in the range over which the solution
takes place. Default=off.
This option leaves the first two keys so that the
delegate doesn’t end up with no keys and then
pop to its current position. This is a useful feature
for biped crowds; it lets you watch each biped
compute, one after another, without the ones not
yet computed still performing their old animation.
Sav e ever y Nt h Key —Lets you specify the number
of position and rotation keys sa ved after the
solution.
Positions/R otations—The frequency with which
keys are saved for delegate positions and rotations.
If 0, no keys are saved. If 1, a key is saved every
frame. If 2, a key is saved every other frame, and
so on. Defaults=1.
Display During Solve g roup
Update displa y—When on, motion produced
during solution of a crowd simulation appears in
the viewports. Default=on.
Fr eque n cy—How often the display is updated
duringthesolution.If1,theupdateoccursevery
frame. If 2, the update occurs every other frame,
and so on. Default=1.
Vector Scale—Globally scales all force and velocity
vectorsthataredisplayedduringthesimulation.
Default=10.0.
Scaling vectors up helps to see them better
when they are very small. It does not effect the
simulation.
MAXScript group
This feature lets you execute a MAXScr ipt scr ipt at
each frame. Its primary purpose is for working
with bipeds; specifically, to take advantage of
available MAXScript calls to Biped that let you
specify which clip the biped will be likely to choose
next when using the shared motion flow feature.
With this feature, you can w rite a script that
dynamically selects the biped’s next clip during the
Crowd simulation, based on which clip is currently
being used, the fr a me number, the proximity of
other bipeds, or anything else that you can find out
in a script. Of course, this scripting feature can be
used for other purposes as well.
Use M AX S cri pt —When on, a user-specified script
is executed at each f rame during the solution.
Default=off.
Funct io n Na me—Thenameofthefunctiontobe
executed. This name must a lso specified in the
script.
Edit MAXScript—Clickthisbuttontoopena
MAXScript window for displaying and modifying
the script.
Bipeds group
When solving simulations that use bipeds linked
to delegates, it is strongly recommended that you
use all three options in this group.
Biped/Delegates Only—When on, only
biped/delegates are included in the computat ion.
Also, the options to use priorities and backtracking
become available. These options are available only
for biped-only computations. Default=off.
Use Priorities—When on, biped/delegates are
computed one delegate at a time, in order of their
Priority values, from lowest to highest. Also,
backtracking becomes available, and Step Solve
becomes unavailable. Default=off.
Backtracking—Turns on backtracking
functionality when solving a crowd simulation
that uses bipeds. Default=off.
When Backtracking is on during the solution, in
the case of an impending collision between bipeds,
the C rowd system will back up the simulation
tothebeginningofthecurrentclip,andthen