Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/Abilities > API/Plugins/GameplayAbilities/Abilities/Tasks
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UGameplayTask
- UAbilityTask
- UAbilityTask_ApplyRootMotion_Base
- UAbilityTask_ApplyRootMotionConstantForce
- UAbilityTask_ApplyRootMotionJumpForce
- UAbilityTask_ApplyRootMotionMoveToActorForce
- UAbilityTask_ApplyRootMotionMoveToForce
- UAbilityTask_ApplyRootMotionRadialForce
References
| Module | GameplayAbilities |
| Header | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/Tasks/AbilityTask_ApplyRootMotion_Base.h |
| Include | #include "Abilities/Tasks/AbilityTask_ApplyRootMotion_Base.h" |
Syntax
UCLASS&40;&41;
class UAbilityTask_ApplyRootMotion_Base : public UAbilityTask
Remarks
This delegate can be used to support target swapping on abilities. e.g. If a decoy is created and you want root motion to switch the destination to the decoy Base class for ability tasks that apply root motion
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsFinished | ||
| float | EndTime | ||
| float | FinishClampVelocity | If FinishVelocityMode mode is "ClampVelocity", character velocity is clamped to this value when root motion finishes | |
| FVector | FinishSetVelocity | If FinishVelocityMode mode is "SetVelocity", character velocity is set to this value when root motion finishes | |
| ERootMotionFinishVelocityMode | FinishVelocityMode | What to do with character's Velocity when root motion finishes | |
| FName | ForceName | ||
| TObjectPtr< UCharacterMovementComponent > | MovementComponent | ||
| uint16 | RootMotionSourceID | ||
| float | StartTime |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAbilityTask_ApplyRootMotion_Base
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | HasTimedOut () |
||
| void |
Overridden from UGameplayTask
| Type | Name | Description | |
|---|---|---|---|
| void | InitSimulatedTask
(
UGameplayTasksComponent& InGameplayTasksComponent |
Constants
| Name | Description |
|---|---|
| OnTargetActorSwapped |