Game Development Reference
In-Depth Information
Before you can create your animations, you will need to add the object as an
actor. You may remember in Chapter 7 that you imported a 3D mesh and
texture of a bear (although you may have imported some other 3D object). In
the next section, you
'
ll use that bear again.
Creating Animations
The Animations tab allows you to map a particular name to an animation. This
animation set can then be called in-game using a script. All animation frames
are created within the 3D Mesh. For example, there might be 10 frames of a
character running and five frames swimming, but when Realm Crafter imports
these meshes, it doesn
t know what each of these animation frames is associated
with. In the Animations tab, you can create an animation set called
'
“
running
�
that will map to those frames that are associated with running.
Before you create an animation you must have already done the following:
1. Imported your media.
2. Created your actor.
Note
When you imported your 3D model, you were given the option to import a mesh that was
animated. It is very important that if your model is animated, you select this option; otherwise, you
will not be able to animate the 3D object.
In this section of the chapter, you
ll take a look at how an actor you have
imported is configured in the Animations tab.
'
1. Under Choose Preview Actor, you will see an actor that you have
imported. In the previous examples, this was a bear actor (you may have
imported an alternative model). Click on the name in the Choose
Preview Actor list to select it.
2. Click on the animation list on the left and select Bear.
3. You can select the different animation sets such as walk, run, and see the
bear in the preview window update.
4. To add your own animation, click on the Add Animation button.
Search WWH ::




Custom Search