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 setAreaFixedCost
&40;
const int i,
const dtReal cost
&41;
Remarks
Sets the fixed cost for entering an area.
Parameters
Name | Description |
---|---|
i | The id of the area. |
cost | The new fixed cost of entering the area polygon. |