2010

Table Of Contents
5 Repeat steps 2-4 for the other 3 wheels.
Now if you adjust the value of the wheel_spin attribute in the Attribute Editor
or Channel Box, all four wheels spin in unison. Although, in some cases, its
useful for the front and back wheels to be able to spin at different rates, the
current setup is fine for this tutorial.
Now you can publish your custom attribute to the container. You can do this
directly from the Attribute Editor.
To publish the wheel turn and wheel spin
1 In the Attribute Editor, right-click Front Wheel Turn and select Publish
to Fire_truck_CNT from the marking menu.
2 Right-click Wheel Spinand select Publish to Fire_truck_CNT from the
marking menu.
Both attributes are published to the fire truck container with the same
published names as their corresponding custom attributes.
Open the second scene for the lesson
To ensure the lesson works as described, do the following steps before
beginning:
Open the scene file named FireTruck_published.mb.
This file can be found in the Getting Started directory that you set as
your Maya project:
Getting Started/Assets/Firetruck_published.mb
The scene contains the same fire truck model but with a complete set of
published attributes.
Creating a template
Once youve published all your attributes, you can create a template from
your asset. A template defines which published attributes an asset needs to be
considered complete. You can then re-purpose this template for use with
future fire truck models, or in our case, any emergency vehicle.
To create a template, you first need to open the Asset Editor.
Open the second scene for the lesson | 725