Navigation
Unreal Engine C++ API Reference > Runtime > Engine > AI > Navigation > UAvoidanceManager > RegisterMovementComponent
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 |
bool RegisterMovementComponent
&40;
class UMovementComponent &42; MovementComp,
float AvoidanceWeight
&41;
Remarks
Register with the given avoidance manager.
Parameters
Name | 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. |