Description
Tested versions
System information
Godot v4.4.1.stable - macOS Sonoma (14.7.6) - Multi-window, 2 monitors - Metal (Forward+) - integrated Apple M3 Max (Apple9) - Apple M3 Max (16 threads)
Issue description
When using a NavigationAgent3D with avoidance enabled, and a NavigationObstacle3D, if you set NavigationObstacle3D.avoidance_enabled = false
, the agent still is blocked by the obstacle. The agent can go through the obstacle if you clear the obstacle's avoidance_layer
.

Steps to reproduce
Use the MRP below. You can press the Start Navigation
button to have the capsule try to navigate through the wall. There are two other toggles: "Enable Wall Avoidance" to set obstacle.avoidance_enabled
, and "Enable Wall Avoidance Layers" to set the layers to 0 or 1.
When the Avoidance Layer is set, the avoidance_enabled
has no impact on whether the capsule can navigate through the wall.
