Navigation
API > API/Runtime > API/Runtime/NavigationSystem > API/Runtime/NavigationSystem/FNavigationPath > API/Runtime/NavigationSystem/FNavigationPath/DoesIntersectBox
- 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 |
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