Navigation
API > API/Runtime > API/Runtime/NavigationSystem > API/Runtime/NavigationSystem/NavMesh > API/Runtime/NavigationSystem/NavMesh/FNavMeshPath > API/Runtime/NavigationSystem/NavMesh/FNavMeshPath/DoesIntersectBox
- 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 |
virtual bool DoesIntersectBox
&40;
const FBox & Box,
const FVector & AgentLocation,
uint32 StartingIndex,
int32 &42; IntersectingSegmentIndex,
FVector &42; AgentExtent
&41; 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