Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/Navigation > API/Runtime/AIModule/Navigation/UPathFollowingComponent > API/Runtime/AIModule/Navigation/UPathFollowingComponent/HasReached
References
| Module | AIModule |
| 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
&40;
const FVector & TestPoint,
EPathFollowingReachMode ReachMode,
float AcceptanceRadius
&41; const
Remarks
Simple test for stationary agent (used as early finish condition), check if reached given point
Parameters
| Name | Description |
|---|---|
| TestPoint | point to test |
| AcceptanceRadius | allowed 2D distance |
| ReachMode | modifiers for AcceptanceRadius |