UPathFollowingComponent::HasReached

Simple test for stationary agent (used as early finish condition), check if reached given point

Windows
MacOS
Linux

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

Syntax

bool HasReached
(
    const FVector & TestPoint,
    EPathFollowingReachMode ReachMode,
    float AcceptanceRadius
) const

Remarks

Simple test for stationary agent (used as early finish condition), check if reached given point

Parameters

Parameter

Description

TestPoint

point to test

AcceptanceRadius

allowed 2D distance

ReachMode

modifiers for AcceptanceRadius

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