Module |
|
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
(
int idx,
float * angles,
float * radii,
int * nsamples
)
[UE4] Gets the shared avoidance sampling pattern for the specified index.
true if pattern was found
Parameter |
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 |