Navigation
API > API/Plugins > API/Plugins/GameplayStateTreeModule > API/Plugins/GameplayStateTreeModule/Tasks
References
| Module | GameplayStateTreeModule |
| Header | /Engine/Plugins/Runtime/GameplayStateTree/Source/GameplayStateTreeModule/Public/Tasks/StateTreeMoveToTask.h |
| Include | #include "Tasks/StateTreeMoveToTask.h" |
Syntax
USTRUCT ()
struct FStateTreeMoveToTaskInstanceData
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | AcceptableRadius | Fixed distance added to threshold between AI and goal location in destination reach test | |
| TObjectPtr< AAIController > | AIController | ||
| bool | bAllowPartialPath | If set, use incomplete path when goal can't be reached | |
| bool | bAllowStrafe | ||
| bool | bProjectGoalLocation | If set, goal location will be projected on navigation data (navmesh) before using | |
| bool | bReachTestIncludesAgentRadius | If set, radius of AI's capsule will be added to threshold between AI and goal location in destination reach test | |
| bool | bReachTestIncludesGoalRadius | If set, radius of goal's capsule will be added to threshold between AI and goal location in destination reach test | |
| bool | bRequireNavigableEndLocation | If set, the goal location will need to be navigable | |
| bool | bTrackMovingGoal | If set, path to goal actor will update itself when actor moves | |
| FVector | Destination | ||
| float | DestinationMoveTolerance | If the task is expected to react to changes to location in input this property can be used to tweak sensitivity of the mechanism. | |
| TSubclassOf< UNavigationQueryFilter > | FilterClass | "None" will result in default filter being used | |
| TObjectPtr< UAITask_MoveTo > | MoveToTask | ||
| TObjectPtr< AActor > | TargetActor | ||
| TScriptInterface< IGameplayTaskOwnerInterface > | TaskOwner |