Navigation
API > API/Runtime > API/Runtime/Navmesh > API/Runtime/Navmesh/DetourCrowd > API/Runtime/Navmesh/DetourCrowd/dtPathCorridor
References
| Module | Navmesh |
| Header | /Engine/Source/Runtime/Navmesh/Public/DetourCrowd/DetourPathCorridor.h |
| Include | #include "DetourCrowd/DetourPathCorridor.h" |
| Source | /Engine/Source/Runtime/Navmesh/Private/DetourCrowd/DetourPathCorridor.cpp |
void reset
(
dtPolyRef ref,
const dtReal * pos
)
Remarks
Resets the path corridor to the specified position.
Essentially, the corridor is set of one polygon in size with the target equal to the position.
Parameters
| Name | Description |
|---|---|
| ref | The polygon reference containing the position. |
| pos | The new position in the corridor. [(x, y, z)] |