In this video, we learn how to implement vision and hearing capabilities to our enemies inside Unity3D. This feature will help enemies detect the player walks in front of an enemy or run close to it.
Watch the short animated video rendered in Unity3D: [ Ссылка ]
The method is pretty straightforward and should work in your games.
What is required for the script to work:
1. The game must have an enemy
2. The must have a player
3. For the enemy vision, if you have an attack method, now will be the best time to use
4. For enemy hearing, we will need the player's running or walking state. If you can find check when the player walks's or the player's speed, then it's easy to implement.
Wishlist my upcoming mystery game on Steam: [ Ссылка ]
Did the video help? You can help me back by installing my game and reviewing it on Google Play: [ Ссылка ]
Thanks for watching the video on adding enemy eyes/vision and hearing in Unity3D. Please subscribe for more videos.
Ещё видео!