Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/AI > API/Runtime/Engine/AI/Navigation
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/AI/Navigation/AvoidanceManager.h |
| Include | #include "AI/Navigation/AvoidanceManager.h" |
Syntax
struct FNavAvoidanceData
Variables
| Type | Name | Description | |
|---|---|---|---|
| FVector | Center | Current location | |
| int32 | GroupMask | Group data | |
| int32 | GroupsToAvoid | Avoid agents is they belong to one of specified groups | |
| int32 | GroupsToIgnore | Do NOT avoid agents is they belong to one of specified groups, takes priority over GroupsToAvoid | |
| float | HalfHeight | Height (object is treated as a cylinder) | |
| double | OverrideWeightTime | Weight is treated as a hard 1.0 while this is active. This is set by code. | |
| float | Radius | Radius (object is treated as a cylinder) | |
| float | RemainingTimeToLive | RVO data is automatically cleared if it's not overwritten first. | |
| float | TestRadius2D | Radius of the area to consider for avoidance | |
| FVector | Velocity | Current velocity | |
| float | Weight | Weight for RVO (set by user) |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FNavAvoidanceData
(
UAvoidanceManager* Manager, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Init
(
UAvoidanceManager* Avoidance, |
Init function for internal use to guard against data changes not being reflected in blueprint-accessible creation functions | |
| bool | |||
| bool | ShouldIgnoreGroup
(
int32 OtherGroupMask |