Parameters to be sent to a 2D navigation path query.
This class contains the start and target position and other parameters to be used with [method NavigationServer2D.query_path].
The navigation [code]map[/code] [RID] used in the path query.
The navigation layers the query will use (as a bitmask).
The path postprocessing applied to the raw path corridor found by the [member pathfinding_algorithm].
The pathfinding algorithm used in the path query.
The pathfinding start position in global coordinates.
The pathfinding target position in global coordinates.
The path query uses the default A* pathfinding algorithm.
Applies a funnel algorithm to the raw path corridor found by the pathfinding algorithm. This will result in the shortest path possible inside the path corridor. This postprocessing very much depends on the navmesh polygon layout and the created corridor. Especially tile- or gridbased layouts can face artificial corners with diagonal movement due to a jagged path corridor imposed by the cell shapes.
Centers every path position in the middle of the traveled navmesh polygon edge. This creates better paths for tile- or gridbased layouts that restrict the movement to the cells center.