Navigation
API > API/Runtime > API/Runtime/AIModule
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.
| Name | UBTTask_MoveDirectlyToward |
| Type | class |
| Header File | /Engine/Source/Runtime/AIModule/Classes/BehaviorTree/Tasks/BTTask_MoveDirectlyToward.h |
| Include Path | #include "BehaviorTree/Tasks/BTTask_MoveDirectlyToward.h" |
Syntax
UCLASS (Config=Game, MinimalAPI)
class UBTTask_MoveDirectlyToward : public UBTTask_MoveTo
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBTNode → UBTTaskNode → UBTTask_BlackboardBase → UBTTask_MoveTo → UBTTask_MoveDirectlyToward
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UBTTask_MoveDirectlyToward
(
const FObjectInitializer& ObjectInitializer |
BehaviorTree/Tasks/BTTask_MoveDirectlyToward.h |
Functions
Public
Overridden from UBTNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FName GetNodeIconName() |
Get the name of the icon used to display this node in the editor | BehaviorTree/Tasks/BTTask_MoveDirectlyToward.h |