FNavigationPath::DoesIntersectBox

Checks if given path, starting from StartingIndex, intersects with given AABB box.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

FNavigationPath::DoesIntersectBox()

FNavMeshPath::DoesIntersectBox()

References

Module

NavigationSystem

Header

/Engine/Source/Runtime/NavigationSystem/Public/NavigationData.h

Include

#include "NavigationData.h"

Source

/Engine/Source/Runtime/NavigationSystem/Private/NavigationPath.cpp

Syntax

virtual bool DoesIntersectBox
(
    const FBox & Box,
    const FVector & AgentLocation,
    uint32 StartingIndex,
    int32 * IntersectingSegmentIndex,
    FVector * AgentExtent
) const

Remarks

Checks if given path, starting from StartingIndex, intersects with given AABB box. This version uses AgentLocation as beginning of the path with segment between AgentLocation and path's StartingIndex-th node treated as first path segment to check