276 ◾ 3D Animation for the Raw Beginner Using Maya
As an experiment, create a polygon cube; you might want to stretch it out and make a
rectangular prism. Next, go into object mode and rotate the model randomly; just don’t put
it back the way it was. Now select the object and go to:
any Main Window → Modify → Transformation Tools → Scale
Select the little box to the right of the word Scale, so you can see the settings of the tool.
ere are some choices labeled Scale Axis. Try selecting World, then look at the green,
blue, and red boxes of the icon for the Scale tool. ey stand for the x-axis (red), the y-axis
(green), and the z-axis (blue). Now change the Scale Axis to Object.
Did you notice that the Scale tool changed its orientation? is underscores the fact that
each object in the scene has its own coordinate system. We will rely on this as we animate
the doors of a closet.
OPENING AND CLOSING DOORS WITH THE
ROTATE TOOL, AND BOUNDING BOXES
In Figure10.1, we see a closet with two doors. In Figure10.2, we have gone into Object
mode and selected the right door. en while holding down the D key, we used the Move
tool to slide the rotation point (as shown by a yellow box with a circular icon in the center)
to the far right side of the door. e result is shown in Figure10.3. Now, in Figure10.4, we
are using the Rotate tool to open the door. e result is shown in Figure10.5.
e yellow box started out in the center of the door. If we had rotated the door then,
it would have rotated on its middle. is is another aspect of the local nature of objects
in Maya. An object always has a center of rotation. It is called the Pivot. With the closet
selected, the Pivot of the door will not change its placement with respect to the door or
with respect to the closet as a whole if we go between Local and World in the Rotate mode
settings, but the naming of the x, y, and z axes might change. When this is done, the colors
of the circles on the Rotate tool do change.
ere is a concept that is oen confused with the notion of a pivot point. It is not shown
in the gures, but if we select one of the doors, then go to Shading (in the blue work area)
FIGURE 10.1 Closet and doors.
FIGURE 10.2 Right door rotation point.