I don’t often use Unity3D’s navmesh system but I now have a need for pathfinding without agents. Paths generated from NavMesh.CalculatePath do not seem to be aligned to the navmesh and sometimes go straight through the air. Am I doing something wrong?
Are agent settings used when no agent exists? I’m not using any agents. I generate a point path from CalculatePath and then I make the entity walk the path by hand without any navmesh agents.
Yeah, Agents are still used when calculating the path, since Agent Settings contain values such as their radius which might prohibit them from walking through narrow corridors and such.
Hmmmm, I didn’t know that. I think I use the default settings for agents which would surprise me if this setting would generate paths through the air. Does anything look out of the ordinary to you here in this picture?
Unfortunately this isn’t around the time of startup, I still haven’t found the source of this issue yet. Seems very strange a path generated from the navmesh wouldn’t align with it.
Could you post your code of displaying the navmesh path? Because if you do not have a change of direction, you would get something like this. Do the navmesh agent walk through the air as well or is it just your navmesh path debug view?