3D Survival FPS Game

Creating Enemies with Manual AI

Prepping the Enemy:

For now we are going to be using placeholders as the enemy objects. I used a 3D cube and extended the Y scale value to 3. Then I created a new material to apply to the enemy so they can be colored.

Understanding the Enemy Function:

First we must understand that the enemy game object functions very similar to the player game object, therefore they will be both relying on the Character Controller function. The main difference between these two would be the target and movement. The Enemy would either be moving within its preset location until the player is within range then the enemy would be moving towards the player.

Surprise!

--

--

A Designer, an Illustrator and a massive tech geek aspiring to become a professional Unity Developer.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Simon Truong

A Designer, an Illustrator and a massive tech geek aspiring to become a professional Unity Developer.