Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/Tasks/AbilityTask_ApplyRootMotionMoveToActorForce.h |
Include |
#include "Abilities/Tasks/AbilityTask_ApplyRootMotionMoveToActorForce.h" |
UCLASS()
class UAbilityTask_ApplyRootMotionMoveToActorForce : public UAbilityTask_ApplyRootMotion_Base
Applies force to character's movement
Name | Description | ||
---|---|---|---|
|
bDisableDestinationReachedInterrupt |
By default, this force ends when the destination is reached. |
|
|
bRestrictSpeedToExpected |
If enabled, we limit velocity to the initial expected velocity to go distance to the target over Duration. |
|
|
bSetNewMovementMode |
||
|
float |
Duration |
|
|
TEnumAsByte< EM... |
NewMovementMode |
|
|
OffsetAlignment |
||
|
OnFinished |
||
|
UCurveVector &#... |
PathOffsetCurve |
|
|
PreviousMovementMode |
||
|
StartLocation |
||
|
AActor * |
TargetActor |
|
|
TargetActorSwapHandle |
||
|
UCurveFloat ... |
TargetLerpSpeedHorizontalCurve |
|
|
UCurveFloat ... |
TargetLerpSpeedVerticalCurve |
|
|
TargetLocation |
||
|
TargetLocationOffset |
||
|
UCurveFloat ... |
TimeMappingCurve |
Maps real time to movement fraction curve to affect the speed of the movement through the path Curve X is 0 to 1 normalized real time (a fraction of the duration) Curve Y is 0 to 1 is what percent of the move should be at a given X Default if unset is a 1:1 correspondence |
Name | Description | |
---|---|---|
|
UAbilityTask_ApplyRootMotionMoveToActorForce ( |
Name | Description | ||
---|---|---|---|
|
UAbilityTask... |
ApplyRootMotionMoveToActorForce ( |
Apply force to character's movement |
|
UAbilityTask... |
ApplyRootMotionMoveToTargetDataActorForce ( |
Apply force to character's movement using an index into targetData instead of using an actor directly. |
|
CalculateTargetOffset() |
||
|
OnRep_TargetLocation() |
||
|
OnTargetActorSwapped |
||
|
SetRootMotionTargetLocation ( |
||
|
UpdateTargetLocation ( |
Name | Description | ||
---|---|---|---|
|
SharedInitAndApply() |
Name | Description | ||
---|---|---|---|
|
PreDestroyFromReplication() |
Called right before being marked for destruction due to network replication |