You can use assets to
replace the existing police car in the scene with the fire truck
model you created in
1, without losing the existing animation.
First you need to make
sure that the published attributes of the police car and fire truck
match precisely. To do this, you can reuse the template you created in
Lesson 1 from the fire truck to define the police car.
If you did not start
, both the fire truck model and template
can be found in the Getting Started/Assets/assets
To assign a template to an asset
> Asset Editor.
- In the left column of the Asset
Editor, select police_car_AST.
- Click the Pin Asset icon ( ).
The police car currently
has no published attributes, so the right panel remains empty even
when the asset is pinned.
- Select Template > Assign
> Assign New Template > .
Template Options window appears.
- Turn off Autobind and Create
- Click Assign Template.
A file browser appears.
- Navigate to the emergency_vehicle.template
file you created in Lesson 1 and select it.
If you didn’t start at
1, navigate to Getting
Started/Assets/assets/templates and select the file emergency_vehicle.template.
- Click Select.
The published names defined
by the template appear in the right panel. However, right now they
are unbound to anything in the police car asset because it had no
matching published attribute names.
If the attributes
don’t appear as shown, you may need to press the refresh button