/Engine/Source/Runtime/Navmesh/Public/DetourCrowd/DetourCrowd.h
The agent's position will be constrained to the surface of the navigation mesh.
The index of the agent in the agent pool. Or -1 if the agent could not be added.
int addAgent ( const dtReal * pos, const [dtCrowdAgentParams](API\Runtime\Navmesh\DetourCrowd\dtCrowdAgentParams) & params, const [dtQueryFilter](API\Runtime\Navmesh\Detour\dtQueryFilter) * filter )