Navigation
Unreal Engine C++ API Reference > Runtime > Navmesh > DetourCrowd > dtCrowd
References
Module | Navmesh |
Header | /Engine/Source/Runtime/Navmesh/Public/DetourCrowd/DetourCrowd.h |
Include | #include "DetourCrowd/DetourCrowd.h" |
Source | /Engine/Source/Runtime/Navmesh/Private/DetourCrowd/DetourCrowd.cpp |
bool setAgentCorridor
&40;
const int idx,
const dtPolyRef &42; path,
const int npath
&41;
Remarks
[UE] Set agent corridor, works only just after requesting move target when agent didn't start any pathfinding operations yet Use with caution!
Parameters
Name | Description |
---|---|
idx | The agent index. [Limits: 0 <= value < getAgentCount()] |
path | The path corridor. [(polyRef) * npolys] |
npath | The number of polygons in the path. |