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 requestMoveTarget
&40;
const int idx,
dtPolyRef ref,
const dtReal &42; pos
&41;
Remarks
Submits a new move request for the specified agent.
This method is used when a new target is set.
The position will be constrained to the surface of the navigation mesh.
The request will be processed during the next update(). True if the request was successfully submitted.
Parameters
Name | Description |
---|---|
idx | The agent index. [Limits: 0 <= value < getAgentCount()] |
ref | The position's polygon reference. |
pos | The position within the polygon. [(x, y, z)] |