https://docs.godotengine.org/en/stable/tutorials/navigation/navigation_using_navigationpathqueryobjects.html
Using NavigationPathQueryObjects — Godot Engine (stable) documentation in English
NavigationPathQueryObjects can be used together with NavigationServer.query_path() to obtain a heavily customized navigation path including optional metadata...
godot engineusingstabledocumentationenglish