Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/BehaviorTree > API/Runtime/AIModule/BehaviorTree/Tasks
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBTNode
- UBTTaskNode
- UBTTask_BlackboardBase
- UBTTask_MoveTo
- UBTTask_MoveDirectlyToward
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
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | bDisablePathUpdateOnGoalLocationChange | ||
| uint32: 1 | bProjectVectorGoalToNavigation |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UBTTask_MoveDirectlyToward
(
const FObjectInitializer& ObjectInitializer |
Overridden from UBTNode
| Type | Name | Description | |
|---|---|---|---|
| FName | Get the name of the icon used to display this node in the editor | ||
| void | InitializeFromAsset
(
UBehaviorTree& Asset |
Initialize any asset related data |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |