Home | Tutorials | Articles | Categories | Channel list | SDK | Exporting | F.A.Q.
Tutorials/Advanced Motion Tutorial
From Quest3D
< Tutorials(Redirected from Advanced Motion Tutorial)
Contents |
[edit]
Advanced Moton Tutorial
by Michaël Samyn
[edit]
A. Basic Setup
[edit]
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.
[edit]
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.
[edit]
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.
[edit]
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.
[edit]
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.
[edit]
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.
[edit]
Sample
[edit]
See Also
One Level Up - Articles
Back to Main Index



