UAvoidanceManager::RegisterMovementComponent

Register with the given avoidance manager.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/AI/Navigation/AvoidanceManager.h

Include

#include "AI/Navigation/AvoidanceManager.h"

Source

/Engine/Source/Runtime/Engine/Private/AI/Navigation/AvoidanceManager.cpp

Syntax

bool RegisterMovementComponent
(
    class UMovementComponent * MovementComp,
    float AvoidanceWeight
)

Remarks

Register with the given avoidance manager.

Parameters

Parameter

Description

AvoidanceWeight

When avoiding each other, actors divert course in proportion to their relative weights. Range is 0.0 to 1.0. Special: at 1.0, actor will not divert course at all.

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