2010

Table Of Contents
Unlike the doors, a fire trucks wheels are expected to move together. For
example, the wheels on the front and back axles should spin together, and
the front wheels should turn together. To do this, you need to create a custom
attribute to control both components at once. Then you can publish your
custom attribute to the container.
To turn the front wheels together
1 In the Outliner, expand Axles_GRP, then select Wheels_GRP.
2 Open the Attribute Editor by clicking
.
3 Make sure the Wheels_GRP tab is currently active, then in the Attribute
Editor, select Attributes > Add Attributes.
The Add Attribute window appears.
4 Under Numeric Attribute Properties, set Long Name to Front_wheel_turn.
5 Set Minimum to -30 and Maximum to 30.
6 Click Add.
Maya adds the new attribute to Wheels_GRP in the Extra Attributes section
of the Attribute Editor. The Add Attribute window stays open.
7 Repeat steps 4 to 6 setting Long Name to Wheel_spin. Do not set a
Minimum/Maximum value for this attribute.
8 Click Close.
Your custom attributes can be found in the Extra Attributes section of the
Attribute Editor. However, if you modify their values, nothing happens. This
is because you have not connected them to anything yet.
To make the front wheels turn together
1 Open the Connection Editor by selecting Windows > General Editors >
Connection Editor.
2 In the Connection Editor, Wheels_GRP should already be displayed in
the Output section. If it is not, select Wheels_GRP in the Outliner and
click Reload Left in the Connections Editor.
NOTE If Outputs does not appear over the left column in the Connections
Editor, click the to <- from button to reset its position.
Publishing multiple attributes to a single published name | 723