Navigation
Unreal Engine C++ API Reference > 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
&40;
dtPolyRef ref,
const dtReal &42; pos
&41;
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)] |