Skip to content

Using NavigationLinks page is misleading #7598

@razcore-rad

Description

@razcore-rad

Your Godot version:
v4.1.rc2.official.46424488e

Issue description:

All this info at the bottom of the page seems incorrect.
image

What happens is the NavigationLink* nodes seem to provide a valid navigation path that the AI can traverse just fine.

URL to the documentation page:
https://docs.godotengine.org/en/stable/tutorials/navigation/navigation_using_navigationlinks.html

I don't know if I checked enough edge cases, but from my tests NavigationLink* nodes enable the AI to traverse using its own path strategy without the need to manually move the agents with animation or teleportation or any other way.

Here's a small demo showing how the navigation agent moves from island to island using NavigationLink2D.

2023-07-02_14-58-30.mp4

Note that in the latter half I'm trying to get the agent to move to the edge of the island by giving it unreachable targets and it doesn't do what I expect it to do. Some times it moves to the edge and others it does't. Seems to be dependent on the distance to the navigation region, but on the convex one to the right it goes to incorrect placements. I think this is related to godotengine/godot#78943

godot-4-dbg.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:manualIssues and PRs related to the Manual/Tutorials section of the documentationbug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions