UAbilityTask_ApplyRootMotion_Base

This delegate can be used to support target swapping on abilities.

Windows
MacOS
Linux

Inheritance Hierarchy

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](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
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

Name Description

Protected variable

bool

 

bIsFinished

Protected variable

float

 

EndTime

Protected variable UProperty Replicated

float

 

FinishClampVelocity

If FinishVelocityMode mode is "ClampVelocity", character velocity is clamped to this value when root motion finishes

Protected variable UProperty Replicated

FVector

 

FinishSetVelocity

If FinishVelocityMode mode is "SetVelocity", character velocity is set to this value when root motion finishes

Protected variable UProperty Replicated

ERootMotionFini...

 

FinishVelocityMode

What to do with character's Velocity when root motion finishes

Protected variable UProperty Replicated

FName

 

ForceName

Protected variable UProperty

UCharacterMovem...

 

MovementComponent

Protected variable

uint16

 

RootMotionSourceID

Protected variable

float

 

StartTime

Constructors

Name Description

Public function

UAbilityTask_ApplyRootMotion_Base

(
    const FObjectInitializer& ObjectIn...
)

Functions

Overridden from UGameplayTask

Name Description

Public function Virtual

void

 

InitSimulatedTask

(
    UGameplayTasksComponent& InGamepla...
)

Constants

Name

Description

OnTargetActorSwapped

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