pegasusejder
New member

As seen in the picture, there are enemies, walls and player. The wall has a navmesh obstacle component and its layer is ignoreRaycast. Currently, the enemy object sees the player behind the wall and moves towards it, but I do not want enemy to see behind the wall. So, is there a way to cancel the can see object after it hits the wall? I want to set it so that the enemy cannot see behind the wall. How can I do that?
