Table of Contents

Enum NavigationPathQueryParameters2D.PathPostProcessing

Namespace
Godot
Assembly
GodotSharp.dll
public enum NavigationPathQueryParameters2D.PathPostProcessing : long

Fields

Corridorfunnel = 0

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 navigation mesh 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.

Edgecentered = 1

Centers every path position in the middle of the traveled navigation mesh polygon edge. This creates better paths for tile- or gridbased layouts that restrict the movement to the cells center.