Unity 2D Game Basics - Enemy AI - Chasing

Опубликовано: 27 Июнь 2026
на канале: Scripting Is Fun
18,718
170

In this video we will look at how to have our enemy chase the player.

Bookmarks:
:30 Overview of what we want to do in this video
1:07 SpiderAI script - Variables
2:00 Check to see if spider is close enough to start chasing
3:45 Turn and move towards target
8:50 Setup up spider in Unity editor
9:17 testing it out

Ligthning Bugs by Audionautix is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/...)
Artist: http://audionautix.com/