Game Development Reference
In-Depth Information
A model is defined as three separate parts: head, torso, and legs. Each part
of the model is linked internally by what is known as a tag. Tags control
the locations at which the parts of the model are connected. Because
each part is dealt with separately, the tags essentially join them together.
There are three principal tags in a QA3 model: tag_head (which joins the
head to the torso), tag_torso (which joins the upper body to the lower
body), and tag_weapon (which provides a location to attach the weapon
model). For games such as QA3 that allow players to modify and create their
own character models, having a standard format such as this is crucial in
ensuring that the models are animated and rendered consistently.
Unity Specifics
Single File, Multiple Animations
Unity supports model files that have all animations in the same file. Note
that not all 3D model formats store animations; for example, .3ds do not,
but .fbx do. When the model is imported into the Project, selecting it will
bring up the import settings in the Inspector. An example is shown of the
Lerpz character available from the Unity Web site in Figure 3.18 .
FIG 3.18 An animated FBX file in Unity with animation settings shown in the Inspector.
Search Nedrilad ::

Custom Search