MENU

Fun & Interesting

Make Enemy Follow Your Player Unity

Gatsby 818 lượt xem 1 year ago
Video Not Working? Fix It Now

I show how to make an enemy follow or chase your player in this Unity tutorial. We leverage changing the position of the transform of the enemy gradually, through time, with Vector 2 functions based upon the player's current position. I also show you how to set up a basic attack functionality with enemies using collisions.

Like always, if you need any help or clarification I can do so in the comments. ^_^

Comment