FNavLocalGridData::FindPathForMovingAgent

Creates path points from navigation path going through grid

Windows
MacOS
Linux

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/Navigation/NavLocalGridData.h

Include

#include "Navigation/NavLocalGridData.h"

Source

/Engine/Source/Runtime/AIModule/Private/Navigation/NavLocalGridData.cpp

Syntax

void FindPathForMovingAgent
(
    const FNavigationPath & SourcePath,
    const FVector & EntryLocation,
    int32 EntrySegmentStart,
    TArray< FVector > & PathPointsInside,
    int32 & NextSegmentStart
) const

Remarks

Creates path points from navigation path going through grid

Parameters

Parameter

Description

SourcePath

[in] full navigation path

EntryLocation

[in] location of agent

EntrySegmentStart

[in] current move segment on path

PathPointsInside

[out] points inside grid

NextSegmentStart

[out] next move segment on path after leaving grid or -1 if path ends inside

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