dtCrowd::requestMoveVelocity

Submits a new move request for the specified agent.

Windows
MacOS
Linux

References

Module

Navmesh

Header

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

Include

#include "DetourCrowd/DetourCrowd.h"

Source

/Engine/Source/Runtime/Navmesh/Private/DetourCrowd/DetourCrowd.cpp

Syntax

bool requestMoveVelocity
(
    const int idx,
    const float * vel
)

Remarks

Submits a new move request for the specified agent.

Returns

True if the request was successfully submitted.

Parameters

Parameter

Description

idx

The agent index. [Limits: 0 <= value < getAgentCount()]

vel

The movement velocity. [(x, y, z)]

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