FMassMoveTargetFragment

Move target.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FMassFragment

FMassMoveTargetFragment

References

Module

MassAIMovement

Header

/Engine/Plugins/AI/MassAI/Source/MassAIMovement/Public/MassAIMovementFragments.h

Include

#include "MassAIMovementFragments.h"

Syntax

USTRUCT()
struct FMassMoveTargetFragment : public FMassFragment

Remarks

Move target.

Variables

Name Description

Public variable

uint8: 1

 

bOffBoundaries

True if the movement target is assumed to be outside navigation boundaries.

Public variable

uint8: 1

 

bSteeringFallingBehind

True if the movement target is assumed to be outside navigation boundaries.

Public variable

FVector

 

Center

Center of the move target.

Public variable

FMassInt16Real

 

DesiredSpeed

Requested movement speed.

Public variable

float

 

DistanceToGoal

Distance remaining to the movement goal.

Public variable

FVector

 

Forward

Forward direction of the movement target.

Public variable

EMassMovementAc...

 

IntentAtGoal

Intended movement action at the target.

Public variable

float

 

SlackRadius

Allowed deviation around the movement target.

Constructors

Name Description

Public function

FMassMoveTargetFragment()

Functions

Name Description

Public function

void

 

CreateNewAction

(
    const EMassMovementAction InAction,
    const UWorld& InWorld
)

To setup current action from the authoritative world

Public function

void

 

CreateReplicatedAction

(
    const EMassMovementAction InAction,
    const uint16 InActionID,
    const float InWorldStartTime,
    const float InServerStartTime
)

To setup current action from replicated data

Public function Const

EMassMovemen...

 

GetCurrentAction()

Public function Const

uint16

 

GetCurrentActionID()

Public function Const

float

 

GetCurrentActionServerStartTime()

Public function Const

float

 

GetCurrentActionStartTime()

Public function Const

bool

 

GetNetDirty()

Public function Const

EMassMovemen...

 

GetPreviousAction()

Public function

void

 

MarkNetDirty()

Public function

void

 

ResetNetDirty()

Public function Const

FString

 

ToString()