Game Development Reference
In-Depth Information
A game object can move and rotate relative to its local coordinate system or
the world. How it moves locally depends on the position of the origin, the
(0,0,0) point, within the model. Figure 2.11a shows a 3D model in Blender
with the origin situated at the tip of the head, and Figure 2.11b shows it in
Fig 2.11 The effect of
transformations based on local
coordinates. (a) A model in Blender
with the origin at the center top, (b)
a model in Blender with the origin
in the abdomen, (c) translation axes
positioned in Unity for the model
in a, (d) translation axes positioned
in Unity for the model in b, (e) both
models positioned at the world origin
in a Unity Scene, and (f ) both models
rotated 90° about their local x axes.
(0,0,0)
(0,0,0)
(b)
(a)
(c)
(d)
(e)
(f)
Search Nedrilad ::




Custom Search