dtStraightPathOptions

Options for [dtNavMeshQuery::findStraightPath](API\Runtime\Navmesh\Detour\dtNavMeshQuery\findStraightPath).

Windows
MacOS
Linux

References

Module

Navmesh

Header

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

Include

#include "Detour/DetourNavMesh.h"

Syntax

enum dtStraightPathOptions
{
    DT_STRAIGHTPATH_AREA_CROSSINGS    = 0x01,
    DT_STRAIGHTPATH_ALL_CROSSINGS     = 0x02,
}

Values

Name

Description

DT_STRAIGHTPATH_AREA_CROSSINGS

Add a vertex at every polygon edge crossing where area changes.

DT_STRAIGHTPATH_ALL_CROSSINGS

Add a vertex at every polygon edge crossing.

Remarks

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