Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements > API/Plugins/PCG/Elements/UPCGPathfindingSettings
Syntax
UPROPERTY (EditAnywhere, BlueprintReadWrite, Category=Settings,
Meta=(ClampMin="0.0", EditCondition="Algorithm == EPCGPathfindingAlgorithm::AStar", PCG_Overridable))
double HeuristicWeight
Remarks
The heuristic estimates a faster path to speed up processing. A higher than 1 heuristic weight can be faster, but it may cease being the optimal path. A weight of 0 is essentially flood fill.