Navigation
API > API/Runtime > API/Runtime/Navmesh > API/Runtime/Navmesh/DetourCrowd > API/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 initAvoidance
&40;
const int maxNeighbors,
const int maxWalls,
const int maxCustomPatterns
&41;
Remarks
[UE] Initializes the avoidance query. True if the initialization succeeded.
Parameters
| Name | Description |
|---|---|
| maxNeighbors | The maximum number of processed neighbors |
| maxWalls | The maximum number of processed wall segments |
| maxCustomPatterns | The maximum number of custom sampling patterns |