Warnings
Calling any non-slice methods before calling finalizeSlicedFindPath() or finalizeSlicedFindPathPartial() may result in corrupted data!
Module |
|
Header |
/Engine/Source/Runtime/Navmesh/Public/Detour/DetourNavMeshQuery.h |
Include |
#include "Detour/DetourNavMeshQuery.h" |
Source |
/Engine/Source/Runtime/Navmesh/Private/Detour/DetourNavMeshQuery.cpp |
dtStatus initSlicedFindPath
(
dtPolyRef startRef,
dtPolyRef endRef,
const float * startPos,
const float * endPos,
const float costLimit,
const dtQueryFilter * filter
)
Initializes a sliced path query.
Calling any non-slice methods before calling finalizeSlicedFindPath() or finalizeSlicedFindPathPartial() may result in corrupted data! The `filter_ pointer is stored and used for the duration of the sliced path query.
The status flags for the query.
Parameter |
Description |
---|---|
startRef |
The refrence id of the start polygon. |
endRef |
The reference id of the end polygon. |
startPos |
A position within the start polygon. [(x, y, z)] |
endPos |
A position within the end polygon. [(x, y, z)] |
costLimit |
Cost limit of nodes allowed to be added to the open list // |
filter |
The polygon filter to apply to the query. |