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 getObstacleAvoidancePattern
&40;
int idx,
dtReal &42; angles,
dtReal &42; radii,
int &42; nsamples
&41;
Remarks
[UE] Gets the shared avoidance sampling pattern for the specified index. true if pattern was found
Parameters
Name | Description |
---|---|
idx | The index. |
angles | radians from direction of desired velocity [Count: nsamples] |
radii | normalized radii (0..1) for each sample [Count: nsamples] |
nsamples | The number of samples |