Create and delete scripts, name scripts, edit transitions, edit clips, and position the entire animation using tools in the Scripts group. Create random motion for one or more bipeds using controls in this rollout. The Scripts group on the Motion Flow rollout is available only when Motion Flow mode is active.
A Script is a list of clips (BIP files) that you constructed and are executed as you designed to animate a character. To create a script, add clips to the Motion Flow Graph, then select Define Script in the Scripts group and click a sequence of clips from the Motion Flow Graph window. Default transitions are assigned if no transitions exist between the clips. The clip names and starting frame numbers display in the list in the Scripts group.
Different scripts vary the order of the clips found in the Motion Flow Graph. Scripts are run in a top-down order to animate the character. Click Play to view script motion on the biped.
By default, when a script is created, Minimum Motion Loss is used to find likely start frames for the source and destination clips.
Editing transitions using the Transition Editor allows you to determine where a transition occurs in the source and destination clip. Transition duration and the orientation of the destination clip can also be adjusted in the Transition Editor.
The Create Random Motion command traverses clips in the Motion Flow Graph based on transition percentages. Transitions are given percentages, and character studio creates random scripts based on the transition percentages. This is a quick way to create crowd scenes or to try out different scripts on a single biped. For example, if five clips are present in the Motion Flow Graph and transitions exist between all the clips and each clip has a percentage or probability of being used, you can use Create Random Motion to create a script that is comprised of the five clips that are selected at random.
Use the Position, Rotation, and Start Frame controls to position the entire animation. If you are editing the script for a character in a scene with other objects or characters, use these controls to position the animation relative to the rest of the scene.
For more information regarding scripts, refer to Creating a Motion Flow Script.
Displays the Biped Motion Flow Script dialog (no dialog displays if there are no scripts; in this case, simply select clips in the Motion Flow Graph).
The Biped Motion Flow Script dialog has the following options:
First select a clip in the list, choose Insert Above Selected Clip item, and then click a clip in the Motion Flow Graph.
Displays the Create Random Motion dialog.
Controls in the Create Random Motion dialog allow you to create random scripts to animate one or more bipeds. Random motion on multiple bipeds can be used to create a crowd scene.
Displays the Clip Properties dialog. Change the start and end frame for the current clip, or replace the current clip with another one. You can also set the Random Start Probability here. Random Start Probability is used when multiple clips are selected as possible start clips when you generate a random motion flow.
The clip name in the script list and the icon in the graph window are updated if the clip is replaced.
Displays the Transition Editor for the selected clip.
Edit the transition for the selected clip and the clip following it. By default, when a script is created, Minimum Motion Loss is used to find start frames for the source and destination clips. Use Edit Transition to select your own start frames or to try out optimized transitions.