Moving, Rotating, and Scaling Objects
Maya provides multiple tools for moving, rotating, and scaling objects and
Each of these tools, including the Universal Manipulator tool, has axes that you can grab and move to transform an object. These axes, called
manipulators
(
Figure 4.3
), let you translate (move), rotate, or scale the object. Manipulators make it easy to constrain objects along a particular axis: You click and drag the colored line for the axis along which you want to constrain the object. The colors
Figure 4.3. The Move, Rotate, and Scale manipulators.
Figure 4.4. RGB colors match the xyz axes.
Figure 4.5. Check the View axis in the lower-left corner of each pane to
|
|
1. |
Select an object or component by clicking it.
|
|
2. |
Press
Figure 4.8. The Move manipulator is used to move the object around the scene.
|
|
3. |
Click and drag the manipulator's arrow in the direction you want the object to move (
Figure 4.9
).
Figure 4.9. Click and drag the axis to which you want the object constrained so that you can maintain precise control over the surface's position. This is particularly useful in the Perspective view.
This action or Hold down
Figure 4.10. By holding down
|
Tips
You'll usually want to avoid using free translations for large adjustments in the Perspective view. The nature of the view can lead to translations in unwanted directions.
You can also hold down
to activate grid snap. In addition, if you drag with the middle mouse button anywhere on the grid, the object
You can use the
and
keys to enlarge or shrink the manipulators.
From anywhere in a view pane, you can hold down the keyboard shortcut for the Move (
), Rotate (
), or Scale (
) tool and click to bring up that tool's marking menu (
Figure 4.11
). Maya's Transform marking
To scale an object or component using the Scale tool:
|
1. |
Select an object or component by clicking it.
|
|
2. |
Press
Figure 4.12. You use the Scale tool's manipulator to scale an object proportionally or along a single axis.
|
|
3. |
Click the small square of the axis on which you want to scale the object or component, and drag in the direction you want the object to scale (
Figure 4.13
).
Figure 4.13. Click and drag a Scale tool's axis to scale an object along a particular axis.
or While pressing Figure 4.14. This cylinder is being scaled along the x axis by shift clicking and dragging with the middle mouse button.
This action selects the appropriate manipulator axis and |
To rotate an object or component using the Rotate tool:
|
1. |
Select an object or component by clicking it.
|
|
2. |
Press
Figure 4.15. The Rotate manipulator is used to rotate the surface on one or more axes.
|
|
3. |
Click the circle of the axis around which you want to rotate the object or component, and drag in the direction you want the object to rotate (
Figure 4.16
).
Figure 4.16. Click and drag the axis circle to which you want the object constrained. A gray pie slice shows you how many degrees you have
|
Tips
You can click anywhere within the Rotate manipulator sphere, and click and drag to rotate the object without being constrained to any axis.
Once the axis you want to use is yellow on the manipulator, you can click and drag anywhere in the pane with the middle mouse button to rotate the object around that axis without touching the axis or the object.
The light blue outer ring rotates the object or component around an axis that always faces the camera view ( Figure 4.17 ).
To translate, rotate, or scale an object or component using the Channel Box:
|
1. |
Click an object or component to select it.
|
|
2. |
In the Channel Box, click once in the field
Figure 4.18. Click the field
|
|
3. |
Type a new value in the selected field.
Figure 4.19. Changing the Translate X value to 3 moves the cone three units in the positive x direction.
or Click to select the attribute's name, and then move the mouse over a view pane. Hold down the middle mouse button, and drag left or right to interactively change the value of the selected attribute ( Figure 4.20 ). Figure 4.20. You can use the middle mouse button to interactively change values anywhere in a pane.
|
The Universal Manipulator provides easy access to three transformations in one tool ( Figure 4.21 ). It can be used to enter in exact values without using the Channel Box, and also enables you to quickly perform these operations around different temporary center points.
The Universal Manipulator also provides real-time information about how far you have translated or rotated an object ( Figure 4.22 ).
The Universal Manipulator does have its limits. For instance, it can't rotate freely in all directions, and you can't use it to manipulate components, only objects.
To translate an object using the Universal Manipulator:
|
1. |
Select an object or component by clicking it.
|
|
2. |
Press
Figure 4.23. The Universal Manipulator shows a bounding box around your object.
|
|
3. |
Click the axis you want to translate, and drag the mouse to translate in that direction.
Figure 4.24. Entering in a precise value saves a trip to the Channel Box.
|
To rotate an object using the Universal Manipulator:
|
1. |
Select an object or component by clicking it.
|
|
2. |
Press
|
|
3. |
Click the arrow corresponding to the axis you want to translate, and drag the mouse to rotate on that axis (
Figure 4.25
).
Figure 4.25. When you're rotating an object on an axis using the Universal Manipulator, the length (in degrees) of the rotation will be displayed near the rotation handle.
or Click once on a rotation arrow, and enter a numerical value in the box that appears. |
To scale an object using the Universal Manipulator:
|
1. |
Select an object or component by clicking it.
|
|
2. |
Press
|
|
3. |
Click a vertex of the bounding box, and drag to scale the object
Figure 4.26. Scaling with the bounding box scales to the
|
{% if main.adsdop %}{% include 'adsenceinline.tpl' %}{% endif %}
Tips
To restrict scaling to one axis, hold
and move the mouse in the direction of that axis (
Figure 4.27
), or click a size number and enter in a value.
Pressing
when performing scale operations
Pressing
when rotating the object using the Universal Manipulator rotates the object around the bounding box edges. The edge it will use is the one opposite the rotation arrow you chose (
Figure 4.28
).
The Show Manipulator tool
lets you access the Inputs node of an object (known as its
construction history)
to alter a surface or curve. In other words, the Show Manipulator tool gives you access to certain attributes used in the creation or manipulation of an object that are usually only available in the Channel Box or Attribute Editor (
Figure 4.29
).
The Show Manipulator tool is commonly used to adjust a spotlight or camera. When you use it on a spotlight, the light has three manipulators instead of oneone to move the light; one for the light to point at, which makes adjusting lighting easier; and one represented by a circle with a tick mark, which
To aim a spotlight using the Show Manipulator tool:
|
1. |
Select Create > Lights > Spotlight.
|
|
2. |
Click the Show Manipulator icon
Figure 4.30. Two manipulators appear, giving you more precise control over what objects the spotlight is pinpointing and the direction in which the light is aimed.
|
|
3. |
Select and move the manipulator at the base of the spotlight (
Figure 4.31
).
Figure 4.31. Select the manipulator attached to the spotlight to translate the light.
The spotlight moves with the manipulator but continues to point at the second manipulator. |
|
4. |
Select and move the manipulator in front of the spotlight.
Figure 4.32. Move one manipulator to exercise control over the light or its target.
|
|
5. |
Click twice on the ring that hovers near the spotlight.
Figure 4.33. Most objects display a blue ring from which you can access that object's input nodes or attributes interactively.
|
|
6. |
Click and drag on the cube atop the circle that
Figure 4.34. The cone angle controls the width of the light beam.
|