Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/Abilities > API/Plugins/GameplayAbilities/Abilities/Tasks
Inheritance Hierarchy
- UObject
- IGameplayTaskOwnerInterface
- UGameplayTask
- UAbilityTask
- UAbilityTask_ApplyRootMotion_Base
- UAbilityTask_ApplyRootMotionConstantForce
References
| Module | GameplayAbilities |
| Header | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/Tasks/AbilityTask_ApplyRootMotionConstantForce.h |
| Include | #include "Abilities/Tasks/AbilityTask_ApplyRootMotionConstantForce.h" |
Syntax
UCLASS ()
class UAbilityTask_ApplyRootMotionConstantForce : public UAbilityTask_ApplyRootMotion_Base
Remarks
Applies force to character's movement
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bEnableGravity | ||
| bool | bIsAdditive | ||
| float | Duration | ||
| FApplyRootMotionConstantForceDelegate | OnFinish | ||
| float | Strength | ||
| TObjectPtr< UCurveFloat > | StrengthOverTime | Strength of the force over time Curve Y is 0 to 1 which is percent of full Strength parameter to apply Curve X is 0 to 1 normalized time if this force has a limited duration (Duration > 0), or is in units of seconds if this force has unlimited duration (Duration < 0) | |
| FVector | WorldDirection |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAbilityTask_ApplyRootMotionConstantForce
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UAbilityTask_ApplyRootMotionConstantForce * | ApplyRootMotionConstantForce
(
UGameplayAbility* OwningAbility, |
Apply force to character's movement | |
| void |
Overridden from UAbilityTask_ApplyRootMotion_Base
| Type | Name | Description | |
|---|---|---|---|
| void |