unreal.PCGPathfindingGoalMappingMode

class unreal.PCGPathfindingGoalMappingMode

Bases: EnumBase

EPCGPathfinding Goal Mapping Mode

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGPathfindingElement.h

EACH_START_TO_EACH_GOAL: PCGPathfindingGoalMappingMode = Ellipsis

For each starting location, find the optimal path to each of the goal locations. There will be an attempted path from each starting location to every goal. Ex. S1->G1, S1->G2, S2->G1, S2->G2.

Type:

1

EACH_START_TO_NEAREST_GOAL: PCGPathfindingGoalMappingMode = Ellipsis

For each starting location, find the optimal path to any of the goal locations. There will be one attempted path from each starting location.

Type:

0

EACH_START_TO_PAIRWISE_GOAL: PCGPathfindingGoalMappingMode = Ellipsis

Map each starting location to a consecutively corresponding goal location as a pair, and find the optimal path between them. Input count must match one-to-one.

Type:

2