FPathFindingQuery::ComputeCostLimitFromHeuristic

Utility function to compute a cost limit using an Euclidean heuristic, an heuristic scale and a cost limit factor CostLimitFactor: multiplier used to compute the cost limit value from the initial heuristic MinimumCostLimit: minimum clamping value used to prevent low cost limit for short path query

Windows
MacOS
Linux

References

Module

NavigationSystem

Header

/Engine/Source/Runtime/NavigationSystem/Public/NavigationSystemTypes.h

Include

#include "NavigationSystemTypes.h"

Source

/Engine/Source/Runtime/NavigationSystem/Private/NavigationData.cpp

Syntax

float ComputeCostLimitFromHeuristic
(
    const FVector & StartPos,
    const FVector & EndPos,
    const float HeuristicScale,
    const float CostLimitFactor,
    const float MinimumCostLimit
) const

Remarks

Utility function to compute a cost limit using an Euclidean heuristic, an heuristic scale and a cost limit factor CostLimitFactor: multiplier used to compute the cost limit value from the initial heuristic MinimumCostLimit: minimum clamping value used to prevent low cost limit for short path query

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss