9
1178 Chapter 14: character studio
7.
Tocorrectlyshareamotionflow,bipeds’legs
must be scaled the same. If any of the bipeds
are scaled differently than the one you started
with, an alert appears, and then, when you click
theOKbuttoninthealertbox,thewrong-scale
bipeds are noted as such in the list. At this
point, you can select one of the bipeds in the
list, and then click the Set Shared Motion Flow
Scalebuttontomatchtheothers’scaletothat
biped. Or you can click one of the Reset Wrong
Scales buttons to rescale the wrong-scale bipeds
or just their legs. Be sure to take one of these
measures before proceeding.
OnemorestepintheSharedMotionFlow
dialog is necessary: You must activate Motion
Flow mode for all the bipeds sharing the motion
flow. Aspecialbuttoninthedialogletsyou
performthatactioninonestep.
8. Click the Put Multiple Bipeds in Motion
Flow button.
This act ivates Motion Flow mode for all the
bipeds sharing the motion flow.
9. Click the OK button to exit the dialog.
To of fset the delega tes and test the simul at ion:
Delegate-controlled bipeds can begin their
animation with their motion flow scripts’ first clip,
if it exists, or with a random motion clip. But when
you load a mot ion flow fi le into t he Shared Motion
Flow dialog, any scripts in the file are ignored.
Thus, delegate-associated bipeds using motion
flow in an unsolved crowd simulation have no
existing scripts, and you must specify that they use
the r andom start clip that you set in the motion
flow. You do this via the delegates.
1. Use the Edit Multiple Delegates dialog > Biped
group to specify Random Start Clip for all the
delegates.
Solve the simulat ion.
2. Select the Crowd object, and go to the Modify
panel.
3. In the Solve rollout, set the desired End Solve
frame.
4. Click Solve to run the simulation.
Crowd solves the simulation.
5. Check the solved simulation by dragg ing the
frame slider and/or playing back the animation.
To fine-tune the simulation:
Chancesaregoodthatadjustmentswillbe
required. Youcanresolveproblemsinanumber
of different ways: Change the behavior and/or
motion flow setups, change delegate parameters,
and s o on.
If you find that bipeds are colliding and
interpenetrating, you can take advan tage of
Crowd’s special Priorities and Backtracking
features. In fact, it is strongly recommended
that you use both options for most Crowd/Biped
simulations.
1. Use the Pr iority rollout (page 2–1235) controls
for assigning different priorities to your
delegates. Typically, delegates at the head of the
crowdshouldhavethehighestpriorities(that
is, the lowest Priority settings).
2. In the Solve rollout > Bipeds group, turn
on Biped/Delegates Only, then turn on Use
Priorities, and then turn on Backtracking. If
you’ve solved prev iously, it’s a good idea to turn
on Delete Keys Before Solve as well.
Now, when it solves the simulat ion, Crowd
solves for one biped/delegate at a time, star t ing
w ith the lowest-priority biped/delegate. As
it solves for each subsequent biped/delegate,
it looks for collisions, and when the occur, it
backs up the solution to the end of the previous
clip, and if necessary, prev ious clips, a nd then
triesdifferentpathsthroughthemotionflow
graph. This method can take longer, which is