Enemies are walking through walls
Im making a FPS with the Fps microgame and the ai keep walking through all the walls. ive tried to make the space unwalkable with things like changing the walls to be static and setting the navagtion area to be not walkable but they still walk through the walls. DOES ANYONE KNOW HOW I FIX THIS.
1-Have you tried to add a NavMeshModifier component? If you have add it to your walls and check the ignore From Built in. That would solve the problem if the walls are also baked. (For Nav Mesh Modifier: https://github.com/Brackeys/NavMesh-Tutorial )
2- Try to increae Obstacle avoidence in NavMeshAgent;
Hope this helps.
Your answer
Follow this Question
Related Questions
AI chase/follow problem 0 Answers
How to set boundaries for A.I. in a Navmesh? 0 Answers
=> How to Avoid NavMeshAgents Clumping Up Together?! <= 1 Answer
Enemy Patrol AI is sideways 0 Answers
problems with nav mesh agent 0 Answers