Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/DefaultMovementSet > API/Plugins/Mover/DefaultMovementSet/LayeredMoves
Inheritance Hierarchy
- FLayeredMoveBase
- FLayeredMove_JumpTo
References
| Module | Mover |
| Header | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/DefaultMovementSet/LayeredMoves/BasicLayeredMoves.h |
| Include | #include "DefaultMovementSet/LayeredMoves/BasicLayeredMoves.h" |
Syntax
USTRUCT (BlueprintType )
struct FLayeredMove_JumpTo : public FLayeredMoveBase
Remarks
JumpTo: Moves this actor in a more jump-like manner - specifying height and distance of jump rather than just upwards speed Note: this layered move is only intended for Mover actors using Z as it's up direction
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bUseActorRotation | If true this jump will use the actor's rotation for jump direction instead of the Jump Rotation property. | |
| float | JumpDistance | Distance this jump impulse is supposed to reach. | |
| float | JumpHeight | Height this jump impulse is supposed to reach. | |
| FRotator | JumpRotation | Direction to jump in. Only used if bUseActorRotation is false. | |
| TObjectPtr< UCurveVector > | PathOffsetCurve | Optional CurveVector used to offset the actor from the path. | |
| TObjectPtr< UCurveFloat > | TimeMappingCurve | Optional CurveFloat to modify jump impulse over the duration of the impulse. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | EvaluateFloatCurveAtFraction
(
const UCurveFloat& Curve, |
Helper function to apply TimeMappingCurve to the layered move. | |
| FVector | GetPathOffset
(
const float MoveFraction |
Helper function to apply movement vector offset from the PathOffsetCurve | |
| FVector | GetRelativeLocation
(
float MoveFraction, |
Helper function for calculating position in jump given move fraction of total time for move. |
Overridden from FLayeredMoveBase
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
||
| FLayeredMoveBase * | Clone () |
||
| bool | GenerateMove
(
const FMoverTickStartData& StartState, |
Generate a movement. | |
| UScriptStruct * | |||
| void | NetSerialize
(
FArchive& Ar |
||
| FString |