UpdateFlags

Crowd agent update flags.

Windows
MacOS
Linux

References

Module

Navmesh

Header

/Engine/Source/Runtime/Navmesh/Public/DetourCrowd/DetourCrowd.h

Include

#include "DetourCrowd/DetourCrowd.h"

Syntax

enum UpdateFlags
{
    DT_CROWD_ANTICIPATE_TURNS      = 1 << 0,
    DT_CROWD_OBSTACLE_AVOIDANCE    = 1 << 1,
    DT_CROWD_SEPARATION            = 1 << 2,
    DT_CROWD_OPTIMIZE_VIS          = 1 << 3,
    DT_CROWD_OPTIMIZE_TOPO         = 1 << 4,
    DT_CROWD_OPTIMIZE_VIS_MULTI    = 1 << 5,
    DT_CROWD_OFFSET_PATH           = 1 << 6,
    DT_CROWD_SLOWDOWN_AT_GOAL      = 1 << 7,
}

Values

Name

Description

DT_CROWD_ANTICIPATE_TURNS

DT_CROWD_OBSTACLE_AVOIDANCE

DT_CROWD_SEPARATION

DT_CROWD_OPTIMIZE_VIS

Use dtPathCorridor::optimizePathVisibility() to optimize the agent path.

DT_CROWD_OPTIMIZE_TOPO

Use dtPathCorridor::optimizePathTopology() to optimize the agent path.

DT_CROWD_OPTIMIZE_VIS_MULTI

[UE4] Multiple calls for optimizePathVisibility instead of checking last point

DT_CROWD_OFFSET_PATH

[UE4] Offset path points from corners by agent radius

DT_CROWD_SLOWDOWN_AT_GOAL

[UE4] Slowdown before reaching goal

Remarks

Crowd agent update flags.

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