dtQueryFilter::setAreaFixedCost

Sets the fixed cost for entering an area.

Windows
MacOS
Linux

References

Module

Navmesh

Header

/Engine/Source/Runtime/Navmesh/Public/Detour/DetourNavMeshQuery.h

Include

#include "Detour/DetourNavMeshQuery.h"

Syntax

void setAreaFixedCost
(
    const int i,
    const float cost
)

Remarks

Sets the fixed cost for entering an area.

Parameters

Parameter

Description

i

The id of the area.

cost

The new fixed cost of entering the area polygon.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss