Game Development Reference
In-Depth Information
6. Create a single animation FSM by dragging-and-dropping the zombie walk
animation into the main window.
7. Create a second AnimatorController object named ZombineControl-
ler2 .
8. Drag-and-drop the injured_walk zombie animation into this window and
save the scene.
9. Make sure these two animator controllers are correctly bound to the animator
controllers of the two racers.
Congratulations! Now, when the race starts, the player will be chased by zombies!
Think about how you might extend the racer NPC class such that if a zombie ever
caught the player, it would switch to a grabbing animation to slow down the player's
progress.
Search WWH ::




Custom Search