Enemy AI in Unity2D #3 A enemy that moves and shoots towards the player
49.6 هزار بار بازدید -
5 سال پیش
-
In this video you will
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 - https://docs.unity3d.com/ScriptRefere...
Vector2.Distance - https://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 : Instagram: chronoabi
YouTube: https://bit.ly/2CReUlQ
Twitter :Twitter: ChronoAbi
Discord : Discord: discord
You can Support this channel on patron to get the latest video as quickly as Possible
Paytron:Patreon: 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
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 - https://docs.unity3d.com/ScriptRefere...
Vector2.Distance - https://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 : Instagram: chronoabi
YouTube: https://bit.ly/2CReUlQ
Twitter :Twitter: ChronoAbi
Discord : Discord: discord
You can Support this channel on patron to get the latest video as quickly as Possible
Paytron:Patreon: 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
5 سال پیش
در تاریخ 1398/11/28 منتشر شده
است.
49,668
بـار بازدید شده