- Unity 2017 Game AI Programming(Third Edition)
- Ray Barrera Aung Sithu Kyaw Thet Naing Swe
- 166字
- 2021-07-02 19:14:16
Creating the enemy tank
Let's go ahead and create an animator controller in your assets folder. This will be your enemy tank's state machine. Call it EnemyFsm.
This state machine will drive the tank's basic actions. As described earlier in our example, the enemy can patrol, chase, and shoot the player. Let's go ahead and set up our state machine. Select the EnemyFsm asset and open up the Animator window.
Now, we'll go ahead and create three empty states that will conceptually and functionally represent our enemy tank's states. Name them Patrol, Chase, and Shoot. Once they are created and named, we'll want to make sure we have the correct default state assigned. At the moment, this will vary depending on the order in which you created and named the states, but we want the Patrol state to be the default state, so right-click on it and select Set as Layer Default State. Now it is colored orange and the Entry state is connected to it.
- Learning Cython Programming(Second Edition)
- LabVIEW2018中文版 虛擬儀器程序設計自學手冊
- Java Web開發之道
- Visual C++串口通信技術詳解(第2版)
- Access 2016數據庫管
- Big Data Analytics
- Quantum Computing and Blockchain in Business
- 移動互聯網軟件開發實驗指導
- Java圖像處理:基于OpenCV與JVM
- Learning JavaScript Data Structures and Algorithms(Second Edition)
- C++ System Programming Cookbook
- Python Programming for Arduino
- iOS開發項目化入門教程
- Advanced Python Programming
- 深入大型數據集:并行與分布化Python代碼