I am currently making a project using ufps and its enemy ai addon… i have created a building like structure using probuilder. When the player goes near the wall, the enemy start trying to run through the wall to the player… how can I do so that the enemy does not detect the player behind the wall… Thanks.
you could try using a raycast from the enemy, and set it so that the raycast cannot go through through the wall, this way the enemy will only detect the player if the raycast hits the player.
http://unity3d.com/learn/tutorials/modules/beginner/physics/raycasting
![]()
