In this video you will know how to make these three enemies from hollow knight.
1 The first one will just follow when you are near it.
2 The second one will follow you and when it is close enough start shooting you.
3 The third one is also like the second one but its bullet will start following you.
The main code that I will be using :
Vector2.MoveTowards - docs.unity3d.com/ScriptRefere...
Vector2.Distance - docs.unity3d.com/ScriptRefere...
This is the third enemy Ai in Unity if you want to watch the first and second then there is a playlist called Enemy AI .
• Enemy AI
Time stamps
0:00 = Intro
0:33 = 1st enemy
4:16 = 2nd enemy
8:23 = 3rd enemy
9:46 = Outro
You can also follow me on
Instagram : / chronoabi
RU-vid: bit.ly/2CReUlQ
Twitter : / chronoabi
Discord : / discord
You can Support this channel on patron to get the latest video as quickly as Possible
Paytron: / chronoabi
For the bullet script just copy and paste the code in the screen ok.
How to make Enemy AI in Unity,Unity - Enemy follow Player,2D Follow AI With Unity and C#,Enemy ai Unity,Enemy follow player unity 2D,Enemy ai Unity 2D,Unity enemy tutorial,Unity enemy ai follow and shoot player,Unity enemy ai 2D,artificial intelligence,advanced AI,unity bot,ai, programming,EnemyAI series,Enemy AI in Unity #3 A enemy that moves and shoots towards the player
30 июл 2024