dtCrowd::initAvoidance

[UE4] Initializes the avoidance query.

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 initAvoidance
(
    const int maxNeighbors,
    const int maxWalls,
    const int maxCustomPatterns
)

Remarks

[UE4] Initializes the avoidance query.

Returns

True if the initialization succeeded.

Parameters

Parameter

Description

maxNeighbors

The maximum number of processed neighbors

maxWalls

The maximum number of processed wall segments

maxCustomPatterns

The maximum number of custom sampling patterns

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