FNavMeshPath::DoesIntersectBox

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

Windows
MacOS
Linux

Override Hierarchy

FNavigationPath::DoesIntersectBox()

FNavMeshPath::DoesIntersectBox()

References

Module

NavigationSystem

Header

/Engine/Source/Runtime/NavigationSystem/Public/NavMesh/NavMeshPath.h

Include

#include "NavMesh/NavMeshPath.h"

Source

/Engine/Source/Runtime/NavigationSystem/Private/NavMesh/NavMeshPath.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

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