Module |
|
Header |
/Engine/Source/Runtime/AIModule/Classes/Navigation/PathFollowingComponent.h |
Include |
#include "Navigation/PathFollowingComponent.h" |
Source |
/Engine/Source/Runtime/AIModule/Private/Navigation/PathFollowingComponent.cpp |
bool HasReached
(
const AActor & TestGoal,
EPathFollowingReachMode ReachMode,
float AcceptanceRadius,
bool bUseNavAgentGoalLocation
) const
Simple test for stationary agent (used as early finish condition), check if reached given goal
Parameter |
Description |
---|---|
TestGoal |
actor to test |
AcceptanceRadius |
allowed 2D distance |
ReachMode |
modifiers for AcceptanceRadius |
bUseNavAgentGoalLocation |
true: if the goal is a nav agent, we will use their nav agent location rather than their actual location |