UBTTask_MoveDirectlyToward

Move Directly Toward task node.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/BehaviorTree/Tasks/BTTask_MoveDirectlyToward.h

Include

#include "BehaviorTree/Tasks/BTTask_MoveDirectlyToward.h"

Syntax

class UBTTask_MoveDirectlyToward : public UBTTask_MoveTo

Remarks

Move Directly Toward task node. Moves the AI pawn toward the specified Actor or Location (Vector) blackboard entry in a straight line, without regard to any navigation system. If you need the AI to navigate, use the "Move To" node instead.

Variables

Name Description

Public variable

uint32: 1

 

bDisablePathUpdateOnGoalLocationChange

Public variable

uint32: 1

 

bProjectVectorGoalToNavigation

Constructors

Name Description

Public function

UBTTask_MoveDirectlyToward

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UBTNode

Name Description

Public function Virtual Const

FName

 

GetNodeIconName()

Get the name of the icon used to display this node in the editor

Public function Virtual

void

 

InitializeFromAsset

(
    UBehaviorTree& Asset
)

Initialize any asset related data

Overridden from UObject

Name Description

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.