Navigation
Unreal Engine C++ API Reference > Runtime > Navmesh > Detour > dtQueryFilter
References
Module | Navmesh |
Header | /Engine/Source/Runtime/Navmesh/Public/Detour/DetourNavMeshQuery.h |
Include | #include "Detour/DetourNavMeshQuery.h" |
void setAreaCost
&40;
const int i,
const dtReal cost
&41;
Remarks
Sets the traversal cost of the area.
Parameters
Name | Description |
---|---|
i | The id of the area. |
cost | The new cost of traversing the area. |