Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/UPathFollowingComponent
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool HasReached
(
const FAIMoveRequest& MoveRequest |
Simple test for stationary agent (used as early finish condition), check if reached target specified in move request | Navigation/PathFollowingComponent.h | |
bool HasReached
(
const FVector& TestPoint, |
Simple test for stationary agent (used as early finish condition), check if reached given point | Navigation/PathFollowingComponent.h | |
bool HasReached
(
const AActor& TestGoal, |
Simple test for stationary agent (used as early finish condition), check if reached given goal | Navigation/PathFollowingComponent.h |
HasReached(const FAIMoveRequest &)
Description
Simple test for stationary agent (used as early finish condition), check if reached target specified in move request
| Name | HasReached |
| Type | function |
| Header File | /Engine/Source/Runtime/AIModule/Classes/Navigation/PathFollowingComponent.h |
| Include Path | #include "Navigation/PathFollowingComponent.h" |
| Source | /Engine/Source/Runtime/AIModule/Private/Navigation/PathFollowingComponent.cpp |
bool HasReached
(
const FAIMoveRequest & MoveRequest
) const
HasReached(const FVector &, EPathFollowingReachMode, float)
Description
Simple test for stationary agent (used as early finish condition), check if reached given point
| Name | HasReached |
| Type | function |
| Header File | /Engine/Source/Runtime/AIModule/Classes/Navigation/PathFollowingComponent.h |
| Include Path | #include "Navigation/PathFollowingComponent.h" |
| Source | /Engine/Source/Runtime/AIModule/Private/Navigation/PathFollowingComponent.cpp |
bool HasReached
(
const FVector & TestPoint,
EPathFollowingReachMode ReachMode,
float AcceptanceRadius
) const
Parameters
| Name | Remarks |
|---|---|
| TestPoint | point to test |
| AcceptanceRadius | allowed 2D distance |
| ReachMode | modifiers for AcceptanceRadius |
HasReached(const AActor &, EPathFollowingReachMode, float, bool)
Description
Simple test for stationary agent (used as early finish condition), check if reached given goal
| Name | HasReached |
| Type | function |
| Header File | /Engine/Source/Runtime/AIModule/Classes/Navigation/PathFollowingComponent.h |
| Include Path | #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
Parameters
| Name | Remarks |
|---|---|
| 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 |