You can randomly traverse clips in a motion flow graph to animate one or more bipeds using controls in the Create Random Motion dialog. You set parameters for random motion in the Motion Flow Graph, in the clip and transition dialogs, as well as in the Create Random Motion dialog.
You create random motion by first adding clips to the Motion Flow Graph and adding transitions between the clips. Clips and transitions are then given percentages, which are used to create random motion for one or more bipeds. You can manually control the “weighting” for a possible start clip, transitions, and frame range. This allows you to animate multiple bipeds in a crowd scene for example. A different script is created for each biped.
When choreographing a random motion for your biped, the default “weighting” for all clips and transitions is set to 100. This ensures that all clips and transitions have an equal chance of being chosen. You can adjust the weighting of transitions in the Motion Flow Graph or Transition Editor to give transitions a higher probability of being selected. You can also set a specific start clip for your biped to use while the remainder of the clips in the script are randomly chosen from the Motion Flow Graph.
To customize transition “weighting” and setting a start clip:
The clips and transitions appear in the Motion Flow Graph. Each transition displays its “weighting” value, 100 by default.
The clip turns purple and is assigned a weighting of 100. The selected clip will be used first by any biped using the random motion script.
This should be long enough to include the clips you want in the animation.
A random script is created based on clips in the Motion Flow Graph and the Minimum Animation Length.
To create a random script for one biped:
3ds Max opens a file dialog, where you can choose the location of your BIP files.
All the transitions linking clips are weighted at 100, meaning all the transitions have a even chance of starting first.
The clips all turn purple and each is assigned a weighting of 100. All the clips have an even chance of starting first.
This should be long enough to include the clips you want in the animation.
3ds Max creates a random script based on clips in the Motion Flow Graph. You can vary clip and transition percentages in the clip dialog or Transition Editor to favor a clip or transition if you like.