Unity Tutorial 16 - Enemy AI Part 6 - Random Patrol

Channel:
Subscribers:
202
Published on ● Video Link: https://www.youtube.com/watch?v=-yzdbn5HBCk



Category:
Tutorial
Duration: 22:39
172 views
5


Hi guys,
In our previous video we made our enemy move in a predefined petrol path. Now lets make it move to random positions within a range. We are gonna make the enemy calculate a random position and petrol towards it. Wait and look around for a while. then move back to its starting position. Wait a few seconds, calculate a new random position and move there and so on.

If you Have not watched my Videos on Enemy AI please check them out
Part 1 - https://www.youtube.com/watch?v=LEz50KIKQDA&t=3s
Part 2 - https://www.youtube.com/watch?v=CZORRyFp2XU
Part 3 - https://www.youtube.com/watch?v=6_erw4iSsts
Part 4 - https://www.youtube.com/watch?v=QFjBZcKa9vs
Part 5 - https://www.youtube.com/watch?v=uH7FQWm9Frg

Please subscribe to my channel and checkout more of my tutorials.
https://www.youtube.com/channel/UCQGWyVytnZmsy-qf-S0_ZpA?sub_confirmation=1