Are nav mesh agents not supposed to find the path when getting stuck in other nav mesh agents ?
I was wondering if navmesh agents are actually not able to find the path after being blocked by other navmesh agents? In this example I have a character(blue arrow) trying to find its path to the character circled in red, but gets stuck/unable to find its way through the line of cylinders that are set as navmesh agents. I know about navmesh obstables, but I want navmesh agents to able to get to a destination without pushing the other navmesh agents around. Here, the cylinders are set to Avoidance Priority =0 (highest) while my character in blue has a Avoidance Priority =50 (medium). If both have an Avoidance Priority that is equal my character in blue will just push away the cylinders to get to its destination, but I do not want pushing, I want the navmesh agent to avoid other navmesh agents to get to his destination.
From what I understood its bad to set a gameobject to a navmesh agent and a navmesh obstable; this is why I am trying to find another solution. The cylinders in the scene would be moving and also finding destinations.
If you can help me I would appreciate it a lot :)
Answer by tomachinz · Oct 01, 2021 at 02:51 PM
The characters path is not blocked by an obstacle. It's blocked by other navagents as you say. My guess is that he thinks he is marching in the army, waiting for the cylinders in front to move. There maybe a straight line of site to the target. They should not be navagents if they never move anywhere. Window -> AI -> Navigation -> - areas: make sure obstacles are listed - bake: click bake
Your answer
Follow this Question
Related Questions
Is there anyway to avoid a StackOverflow 0 Answers
How to fix indecisive Navmesh Agent? 0 Answers
Can't Bake Navmesh on terrain! 0 Answers
how to search for a random point until the condition is true? 0 Answers