PXC Documentation

PXC Home

Pathfinding

pre 1.18

Node Data

Display name

Pathfinding

Internal name

Node_Path_Pathfind

Inheritances

Node_Path_Pathfind

Inputs

surface

Mask

Pathfinding

vec2

Start

vec2

End

bool

Diagonal

Path

bool

Simplify

Mask

bool

Draw Mask

Path

bool

Draw Path

range

Range

gradient

Color

Outputs

surface

Rendered

pathnode

Path

boolean

Reached


Calculate shortest path connecting 2 pixels. Both pixels need to have the same color.



Properties


Pathfinding
StartStarting position
EndEnd position
DiagonalAllow diagonal line.
Path
SimplifyRemove anchor on a straight line.
Rendering
Draw MaskDraw original surface.
Draw PathDraw path.
RangePath range to draw.
ColorColor over path.



Commit History


1.22.1
  • Introduced

Related Links