UPathFollowingComponent::DetermineStartingPathPoint

Checks if this PathFollowingComponent is already on path, and if so determines index of next path point

Windows
MacOS
Linux

Override Hierarchy

UPathFollowingComponent::DetermineStartingPathPoint()

UCrowdFollowingComponent::DetermineStartingPathPoint()

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

virtual int32 DetermineStartingPathPoint
(
    const FNavigationPath * ConsideredPath
) const

Remarks

Checks if this PathFollowingComponent is already on path, and if so determines index of next path point

this function does not set MoveSegmentEndIndex

Returns

what PathFollowingComponent thinks should be next path point. INDEX_NONE if given path is invalid

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