324
Video Game Design Composition
Rotation
Rotation
is circular movement about a central point. In video games,
rotation occurs around the X axis, Y axis or Z axis of the object.
A good example of rotation can be seen in the movement of an airplane.
In a right-hand turn, the right wing rotates down and the left wing rotates
up, as shown in Figure 11-3. This
rotation is about the long central
axis of the plane, which can be
thought of as the X axis. To make
the airplane go up or down, the
pilot controls the pitch. When
taking off, the airplane nose is
rotated up and the tail is rotated
down. This rotation is about an
axis running from wingtip to
wingtip, which can be thought of
as the Y axis. The yaw controls
for the pilot come from the rudder
input. When the airplane turns to
the left with the rudder input, the
nose rotates to the left and the tail
rotates to the right. This rotation is
about a vertical axis, which can be
thought of as the Z axis.
Figure 11-2.
Translation is moving
an object from one
point to another.
Here, the ball is
translated from
(0,0,0) to (5,0,0).
Goodheart-Willcox Publisher
Figure 11-3.
When a plane turns, its wings rotate
about an axis.
Nata-Lia/Shutterstock.com
Previous Page Next Page

Resources and Downloads

Attachments

Extracted Text (may have errors)


324
Video Game Design Composition
Rotation
Rotation
is circular movement about a central point. In video games,
rotation occurs around the X axis, Y axis or Z axis of the object.
A good example of rotation can be seen in the movement of an airplane.
In a right-hand turn, the right wing rotates down and the left wing rotates
up, as shown in Figure 11-3. This
rotation is about the long central
axis of the plane, which can be
thought of as the X axis. To make
the airplane go up or down, the
pilot controls the pitch. When
taking off, the airplane nose is
rotated up and the tail is rotated
down. This rotation is about an
axis running from wingtip to
wingtip, which can be thought of
as the Y axis. The yaw controls
for the pilot come from the rudder
input. When the airplane turns to
the left with the rudder input, the
nose rotates to the left and the tail
rotates to the right. This rotation is
about a vertical axis, which can be
thought of as the Z axis.
Figure 11-2.
Translation is moving
an object from one
point to another.
Here, the ball is
translated from
(0,0,0) to (5,0,0).
Goodheart-Willcox Publisher
Figure 11-3.
When a plane turns, its wings rotate
about an axis.
Nata-Lia/Shutterstock.com

Help

loading