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

Name Description

Protected function Virtual Const

bool

 

HasTimedOut()

Protected function Virtual

void

 

SharedInitAndApply()

Overridden from UGameplayTask

Name Description

Public function Virtual

void

 

InitSimulatedTask

(
    UGameplayTasksComponent & InGamepla...
)

Constants

Name

Description

OnTargetActorSwapped

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