UAbilityTask_ApplyRootMotionMoveToActorForce::ApplyRootMotionMoveToTargetDataActorForce

Apply force to character's movement using an index into targetData instead of using an actor directly.

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

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

Include

#include "Abilities/Tasks/AbilityTask_ApplyRootMotionMoveToActorForce.h"

Source

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

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Ability|Tasks",
          Meta=(HidePin="OwningAbility", DefaultToSelf="OwningAbility", BlueprintInternalUseOnly="TRUE"))
static UAbilityTask_ApplyRootMotionMoveToActorForce * ApplyRootMotionMoveToTargetDataActorForce
(
    UGameplayAbility * OwningAbility,
    FName TaskInstanceName,
    FGameplayAbilityTargetDataHandle TargetDataHandle,
    int32 TargetDataIndex,
    int32 TargetActorIndex,
    FVector TargetLocationOffset,
    ERootMotionMoveToActorTargetOffsetType OffsetAlignment,
    float Duration,
    UCurveFloat * TargetLerpSpeedHorizontal,
    UCurveFloat * TargetLerpSpeedVertical,
    bool bSetNewMovementMode,
    EMovementMode MovementMode,
    bool bRestrictSpeedToExpected,
    UCurveVector * PathOffsetCurve,
    UCurveFloat * TimeMappingCurve,
    ERootMotionFinishVelocityMode VelocityOnFinishMode,
    FVector SetVelocityOnFinish,
    float ClampVelocityOnFinish,
    bool bDisableDestinationReachedInterrupt
)

Remarks

Apply force to character's movement using an index into targetData instead of using an actor directly.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback