Skip to content

Navmesh path planning produces sub-optimal paths #146

@JulianKu

Description

@JulianKu

Hi :)

I was wondering how the path from an agent to the goal is computed when using a navMesh. On my custom map, I encounter the following path planning. In shows the planned path in yellow where I would expect a more optimal path something like the path I've drawn in red.

Path

I thought the underlying planning algorithm is A* which should output an optimal path. Is the planning
taking something into account that I missed?
I am happy for everyone that can provide help.

I also attach my project files, in case the problem could be with the navmesh.

project.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions