dtCrowd::setObstacleAvoidanceParams

Sets the shared avoidance configuration for the specified index.

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

void setObstacleAvoidanceParams
(
    const int idx,
    const dtObstacleAvoidanceParams * params
)

Remarks

Sets the shared avoidance configuration for the specified index.

Parameters

Parameter

Description

idx

The index. [Limits: 0 <= value < #DT_CROWD_MAX_OBSTAVOIDANCE_PARAMS]

params

The new configuration.

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