CrowdAgentState

The type of navigation mesh polygon the agent is currently traversing.

Windows
MacOS
Linux

References

Module

Navmesh

Header

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

Include

#include "DetourCrowd/DetourCrowd.h"

Syntax

enum CrowdAgentState
{
    DT_CROWDAGENT_STATE_INVALID,
    DT_CROWDAGENT_STATE_WALKING,
    DT_CROWDAGENT_STATE_OFFMESH,
    DT_CROWDAGENT_STATE_WAITING,
}

Values

Name

Description

DT_CROWDAGENT_STATE_INVALID

The agent is not in a valid state.

DT_CROWDAGENT_STATE_WALKING

The agent is traversing a normal navigation mesh polygon.

DT_CROWDAGENT_STATE_OFFMESH

The agent is traversing an off-mesh connection.

DT_CROWDAGENT_STATE_WAITING

[UE4] The agent is waiting for external movement to finish

Remarks

The type of navigation mesh polygon the agent is currently traversing.

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