Game Development Reference
In-Depth Information
Creating the enemy movement with the AI
script
In the previous section, we have the waypoint set up for our enemy to move, but we don't
have the enemy yet. In this section, we will create the script to control it by using a concept
CharacterClass
that comes with the package.
Note
If we open
CharacterClass
, which is located at
Chapter6
|
Scenes
|
C#
|
Actor
(for C#
users) or
Chapter6
|
Scenes
|
JavaScript
|
Actor
(for JavaScript users), we will see that
Build a Rocket Launcher!
.