UPathFollowingComponent::GetFinalAcceptanceRadius

Based on Path's properties, original move goal location and requested AcceptanceRadius this function calculates actual acceptance radius to apply when testing if the agent has successfully reached requested goal's vicinity

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

float GetFinalAcceptanceRadius
(
    const FNavigationPath & PathInstance,
    const FVector OriginalGoalLocation,
    const FVector * PathEndOverride
) const

Remarks

Based on Path's properties, original move goal location and requested AcceptanceRadius this function calculates actual acceptance radius to apply when testing if the agent has successfully reached requested goal's vicinity

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