Hallo,
is it possible to configure Obstacle Avoidance of NavMeshAgents so that it only takes certain layers into account?
Right now my NPC is very slow in narrow hallways, because apparently they try to avoid the walls, which makes no sense to me.
Hallo,
is it possible to configure Obstacle Avoidance of NavMeshAgents so that it only takes certain layers into account?
Right now my NPC is very slow in narrow hallways, because apparently they try to avoid the walls, which makes no sense to me.
I’d like to recategorize this as a bug. After diving more into the documentation it’s clear that the NavMeshAgents try to avoid both other actors and nav mesh edges. With very narrow polygons on the nav mesh this can become a problem as it looks strange. Interesting enough, it doesn’t happen always with all edges. I don’t know how or why, so I’d say it’s inherently a bug.
Unfortunately there doesn’t seem to be a way to only deactivate the avoidance of edges and not the avoidance of other agents.