Tutorials/Advanced Motion Tutorial

From Quest3D

Jump to: navigation, search

Contents

Advanced Moton Tutorial

by Michaël Samyn

A. Basic Setup

Set up a scene

  • Import an X file with an animated character “as indexed character”.
  • Drag in the Simple Scene template and replace the 3D Objects with your character object.
  • Rightclick on Start3DScene and set it “as start channel”.
  • Opening an Animation 3D View should display your character.

Import motions

  • Remove the MotionSet and replace it by an Advanced Motion Blender.
  • You can find this channel in the Channel List tab next to the Templates.
  • Connect an Advanced Motion Data as a child to the Advanced Motion Blender.
  • Double click the Advanced Motion Data and click on the Set Reference Motion button.
  • Select the X file you had already imported to get the SkinnedCharacter.
  • This X file needs to have key frames on all bones that you may want to animate.
  • Click the Add Motion Set from X File button.
  • Choose an X file. Its name will be added to the Motion Sets list.
  • You can change the name in the Motion Set name text box.
  • Repeat this to import a few more motions.

Image:MotionBlenderChannelGroup1.jpg

Add Motions

  • Select each imported motion from the Motion Sets list and click the Add Motion-Bone Set Group from selected Motion Set button.
  • In the Motion-Bone Set Groups panel, select each motion and configure it.
  • Check the Loop Motion-Dummy Group checkbox for animations that need to loop.
  • Set the Priority value: higher numbered motions will play over lower numbered ones.

Image:AdvancedMotionDataDialog.jpg

Setting up triggers

  • Drag a Trigger and a UserInput into the channel group for each motion.
  • Connect each UserInput channel to a Trigger channel and connect all Trigger channels to the Start3DScene channel via a Channelcaller.
  • Doubleclick the UserInput channels to configure them with Keyboard keys 1, 2, 3.
  • Drag in an Advanced Motion Command for each of the Triggers and connect each to a trigger.
  • Make a shortcut of your Advanced Motion Blender channel for each of your Advanced Motion Command channels and connect them to the latter.
  • Drag in three Value channels and connect each to an Advanced Motion Command.
  • Double click each value and fill in a number
  • Set the first Value to 0, the second to 1, the third to 2, etcetera.

Image:MotionBlenderChannelGroup2.jpg

Playing the Motions

  • Switch to Run Mode.
  • Press 1 to play the first motion. 2 To Play the second. Etcetera.
  • Doubleclick the Advanced Motion Blender channel: you should see all available motions in the lower list and all currently playing motions in the upper list.

Stopping motions

  • Set up a trigger as in point 4.
  • Doubleclick the Advanced Motion Command.
  • Choose “Remove instruction from list” and click OK.
  • Press the key corresponding to the trigger.

Sample

Advanced Motion sample A

See Also

Advanced Motion Tutorial 2

One Level Up - Articles

Back to Main Index

Personal tools
Navigation