Tutorial 5: Motion Flow Editing
By including multiple bipeds in a shared motion flow you can animate multiple bipeds using only one motion flow graph. The Create Random Motion command randomly picks clips to create a unique script for each biped. Use this to create a crowd that is loitering or cheering, for example.
Creating multiple bipeds
Reset 3D Studio MAX.
Create one biped at the far left of the Front Viewport.
In the Front Viewport, select the center of mass.
In the Front Viewport, press SHIFT and drag to the right to create a copy of the biped. In the Clone Options dialog, type 5 for the number of copies.
Six bipeds appear standing shoulder to shoulder.
Creating a shared Motion Flow
Select the biped at the far right of the Front Viewport and turn on Motion Flow mode.
Select one one object on the biped to enable biped controls in the Motion panel.
On the Motion Flow rollout, click Shared Motion Flow.
The Shared Motion Flows dialog is displayed.
On the Shared Motion Flows dialog, click New.
A new shared motion flow is created. A default name appears in the list.
On the Shared Motion Flows dialog, click Add.
The Select dialog is displayed.
Select all the bipeds in the Select dialog and click Select.
On the Shared Motion Flows dialog the biped names are displayed in the window.
On the Shared Motion Flows dialog, click OK.
The Shared Motion Flow icon on the Motion Flow rollout now has a white circle around it. This means that the selected biped is part of a shared motion flow.
On the Motion Flow rollout, click Show Graph.
The Motion Flow Graph dialog is displayed. The word "shared" appears in the dialog name. This Motion Flow Graph will be shared by the six bipeds.
On the Motion Flow Graph toolbar, click Create Multiple Clips.
From cstudio\tutorials\tutorial_5 add hatsoff.bip, laugh.bip, shocked.bip, sneeze.bip, and wave.bip. Hold down the CTRL key and click each file name to add it to the selection. Click OK.
The selected clips are added to the Motion Flow Graph.
On the Motion Flow Graph toolbar, click Synthesize Motion Flow Graph.
Transitions appear between all the clips.
On the Motion Flow Graph toolbar, click Select Random Start Clip.
Select all the clips in the Motion Flow Graph window by dragging a window around them.
Each clip has an even chance of being the first clip in a script.
On the Motion Flow Script rollout, click Create Random Motion.
The Create Random Motion dialog is displayed.
On the Create Random Motion dialog set Random Start Range from 0 to 30.
If two bipeds share a clip the clips start frame is picked randomly. This prevents identical motion.
On the Create Random Motion dialog, click "Create motion for all bipeds sharing this motion flow", and then click Create.
An alert asks if you want to put all the bipeds into Motion Flow mode. Click Yes. Each biped has a random script based on the clips in the Motion Flow Graph. Click Play to see the animation.
Tip: Use the "Put bipeds into motion flow mode" command on the Shared Motion Flows dialog to put multiple bipeds into Motion Flow mode.
Lesson 5: Using the Create Random Motion Feature