Game Development Reference
In-Depth Information
Figure 2-4. The coordinate system set to Local, Move transform active
7.
Click on the Z arrow in the viewport, and drag the cube while watching the
Position values in the Inspector.
The cube is moving in its local Z direction, but its X position is updated as well.
8.
Change the coordinate system to Global, and pull the cube in the Global
Z direction.
This time, the only value being updated in the Inspector is the Z Position. When you transform an
object, its location and orientation are kept in world coordinates.
You can also rotate and scale objects using the transform modes at the top left. Just like position,
rotate can use local or global coordinates.
1.
Click to active Rotate mode (Figure 2-5 ).
 
Search WWH ::




Custom Search