Navigation
| Name | MassNavigation |
| Type | Plugin |
| Part of Plugins | MassAI |
| Location | /Engine/Plugins/AI/MassAI/Source/MassNavigation/ |
| Module Build Rules | MassNavigation.Build.cs |
Classes
| Name | Remarks |
|---|---|
| UMassMoveTargetFragmentInitializer | Initializes the move target's location to the agents initial position. |
| UMassMovingAvoidanceProcessor | Experimental: move using cumulative forces to avoid close agents |
| UMassNavigationObstacleGridProcessor | Processor to update obstacle grid |
| UMassNavigationObstacleRemoverProcessor | Deinitializer processor to remove avoidance obstacles from the avoidance obstacle grid |
| UMassNavigationObstacleTrait | |
| UMassNavigationSmoothHeightProcessor | Updates entities height to move targets position smoothly. Does not update Off-LOD entities. |
| UMassNavigationSubsystem | |
| UMassObstacleAvoidanceTrait | |
| UMassOffLODNavigationProcessor | Updates Off-LOD entities position to move targets position. |
| UMassSmoothOrientationProcessor | Updates agent's orientation based on current movement. |
| UMassSmoothOrientationTrait | |
| UMassStandingAvoidanceProcessor | Avoidance while standing. |
| UMassSteeringTrait | |
| UMassSteerToMoveTargetProcessor | Processor for updating steering towards MoveTarget. |
Structs
Interfaces
| Name | Remarks |
|---|---|
| IMassNavigationModule | The public interface to this module. |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FNavigationObstacleHashGrid2D | THierarchicalHashGrid2D< 2, 4, FMassNavigationObstacleItem > | MassNavigationSubsystem.h |
Enums
Public
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurrentLaneChanged | const FName | MassNavigationTypes.h | ||
| FollowPointPathDone | const FName | MassNavigationTypes.h | ||
| FollowPointPathStart | const FName | MassNavigationTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!
(
EMassNavigationObstacleFlags E |
MassNavigationSubsystem.h | ||
EMassNavigationObstacleFlags operator&
(
EMassNavigationObstacleFlags Lhs, |
MassNavigationSubsystem.h | ||
EMassNavigationObstacleFlags & operator&=
(
EMassNavigationObstacleFlags& Lhs, |
MassNavigationSubsystem.h | ||
EMassNavigationObstacleFlags operator^
(
EMassNavigationObstacleFlags Lhs, |
MassNavigationSubsystem.h | ||
EMassNavigationObstacleFlags & operator^=
(
EMassNavigationObstacleFlags& Lhs, |
MassNavigationSubsystem.h | ||
EMassNavigationObstacleFlags operator|
(
EMassNavigationObstacleFlags Lhs, |
MassNavigationSubsystem.h | ||
EMassNavigationObstacleFlags & operator|=
(
EMassNavigationObstacleFlags& Lhs, |
MassNavigationSubsystem.h | ||
EMassNavigationObstacleFlags operator~
(
EMassNavigationObstacleFlags E |
MassNavigationSubsystem.h | ||
FVector UE::MassNavigation::ClampVector
(
const FVector Vec, |
Clamps vectors magnitude to Mag. | MassNavigationUtils.h | |
FVector UE::MassNavigation::ComputeMiterNormal
(
const FVector NormalA, |
Computes miter normal in XY plane from two neighbour edge normals. | MassNavigationUtils.h | |
bool UE::MassNavigation::Debug::DebugIsSelected
(
const FMassEntityHandle Entity |
MassNavigationDebug.h | ||
| MassNavigationDebug.h | |||
FVector::FReal UE::MassNavigation::ExponentialSmoothingAngle
(
const FVector::FReal Angle, |
Exponential smooth from current angle to target angle. Angles in radians. | MassNavigationUtils.h | |
FVector UE::MassNavigation::GetLeftDirection
(
const FVector Forward, |
Returns left direction from forward and up directions. | MassNavigationUtils.h | |
FVector::FReal UE::MassNavigation::GetYawFromDirection
(
const FVector Direction |
MassNavigationUtils.h | ||
FQuat::FReal UE::MassNavigation::GetYawFromQuat
(
const FQuat Rotation |
Calculates yaw angle from direction vector. | MassNavigationUtils.h | |
FVector::FReal UE::MassNavigation::LerpAngle
(
const FVector::FReal AngleA, |
Linearly interpolates between two angles (in Radians). | MassNavigationUtils.h | |
FVector::FReal UE::MassNavigation::ProjectPtSeg
(
const FVector2D Point, |
Projects a point to segment and returns the time interpolation value. | MassNavigationUtils.h | |
float UE::MassNavigation::Smooth
(
const float X |
Returns the SmoothStep curve for X in range [0..1]. | MassNavigationUtils.h | |
double UE::MassNavigation::Smooth
(
const double X |
Returns the SmoothStep curve for X in range [0..1]. | MassNavigationUtils.h | |
FVector::FReal UE::MassNavigation::WrapAngle
(
const FVector::FReal Angle |
Wraps and angle to range -PI..PI. Angle in radians. | MassNavigationUtils.h |