PathPostProcessing

    NavigationPathQueryParameters2D.swift:32
    enum PathPostProcessing

    Cases

    • case corridorfunnel

      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.

    • case edgecentered

      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.

    Other members in extension

    View members

    Hide members

    This section is hidden by default because it contains too many (12) members.

    Types

    Type members

    Instance members

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features