Skip to content

[master] Bidirectional flag in NavigationLink3D is no longer taken into account by NavigationAgent3D #100769

@HerrSersch

Description

Tested versions

  • Reproducible since d51615b was merged
  • Was working before this commit, as well as in 4.4dev7 and 4.3

System information

Godot v4.4.dev (d51615b) - Linux Mint 22 (Wilma) on X11 - X11 display driver, Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2060 SUPER (nvidia; 550.120) - AMD Ryzen 5 7600 6-Core Processor (12 threads)

Issue description

Since commit [d51615b] was merged, NavigationAgent3D does no longer take a NavigationLink3D's Bidirectional flag into account. The agent can travel freely in both directions, even if Bidirectional is disabled.

I've attached a simple MRP with an agent that will travel to the right using a NavigationLink3D with Bidirectional disabled. The link starts on the right and ends on the left, so travel shouldn't be possible.

2024-12-23.17-52-10.mp4

Steps to reproduce

  • Start the MRP. If the agent is able to move to the right despite the fact that Bidirectional is disabled, the bug exists

Minimal reproduction project (MRP)

bidirectional_navlink_bug.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

  • Status

    Unassessed

Relationships

None yet

Development

No branches or pull requests

Issue actions