How I make an npc move when I get near it?
2d plataform. I don't need any code solution cause I want to do it myself, I just want to know how it works in unity. It's the first scene in the game, where the player sees the enemy who's just standing there in the right side of the screen, and when the player get to the middle of the screen, the enemy starts running away, geting out of the scene.
I thought of a checkpoint system, when the player goes throught it the enemy starts moving, but how do I do it.
thx
Your answer
Follow this Question
Related Questions
How to make enemy detect a character in his certain range? 1 Answer
Enemy movement in javascript? 1 Answer
How to make a player input a sequence to activate a door/trigger? 0 Answers
My Character gets stuck on one animation 0 Answers
Unity 2D : C# : Animation : CS1061 : Animation does not contain definition for SetFloat.. 1 Answer