UAbilityTask_ApplyRootMotionMoveToForce::ApplyRootMotionMoveToForce

Apply force to character's movement

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/Tasks/AbilityTask_ApplyRootMotionMoveToForce.h

Include

#include "Abilities/Tasks/AbilityTask_ApplyRootMotionMoveToForce.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/Abilities/Tasks/AbilityTask_ApplyRootMotionMoveToForce.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Ability|Tasks",
          Meta=(HidePin="OwningAbility", DefaultToSelf="OwningAbility", BlueprintInternalUseOnly="TRUE"))
static UAbilityTask_ApplyRootMotionMoveToForce * ApplyRootMotionMoveToForce
(
    UGameplayAbility * OwningAbility,
    FName TaskInstanceName,
    FVector TargetLocation,
    float Duration,
    bool bSetNewMovementMode,
    EMovementMode MovementMode,
    bool bRestrictSpeedToExpected,
    UCurveVector * PathOffsetCurve,
    ERootMotionFinishVelocityMode VelocityOnFinishMode,
    FVector SetVelocityOnFinish,
    float ClampVelocityOnFinish
)

Remarks

Apply force to character's movement

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss