In this episode of the unreal engine advanced locomotion series, I am going to continue with the AI system of the enemy NPC characters. Here, we will set up AI sight perception for the AI character so they will be able to identify the player and other characters in the world. If they see another AI character they will ignore them, but if they see the player character, they will turn and keep focusing on the player until the player breaks the line of sight. When player is no longer in the line of sight, the AI characters will resume free roaming. The behaviors will be controlled through a behavior tree.
Advanced locomotion system: https://www.unrealengine.com/marketplace/en-US/product/advanced-locomotion-system-v1
CodeLikeMe Third-Person shooter series: https://www.youtube.com/playlist?list=PLKLABJGyKV-CmWAXXeuUTer0iI0kSG1W4
.
project files
https://www.patreon.com/posts/63654325