Unity 2D Game Basics Enemy AI Patrolling
>> YOUR LINK HERE: ___ http://youtube.com/watch?v=KKU3ejp0Alg
It this video we will start looking at some simple enemy AI behaviors. The topic of this video is patrolling - when your AI moves around between fixed points. • Timestamps: • :30 Overview of what we are going to do in this video • :55 Setting up patrol points • 1:50 Icons for empty game objects • 2:50 Making more patrol points • 3:55 Putting the patrol points into an empty game object container • 5:00 SpiderAI script • 6:10 Putting patrol points into the patrol points array • 8:00 Making the spider move • 9:50 Setting speed in the inspector and testing movement • 11:00 Checking to see if the spider has reached the patrol point • 14:45 Getting the next patrol point • 18:50 Rotating to face the patrol point and moving toward it • 27:35 Testing patrolling in Unity • Ligthning Bugs by Audionautix is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/...) • Artist: http://audionautix.com/
#############################
