Navigation
API > API/Plugins > API/Plugins/Mover
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
| Name | FLayeredMove_JumpTo |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/DefaultMovementSet/LayeredMoves/BasicLayeredMoves.h |
| Include Path | #include "DefaultMovementSet/LayeredMoves/BasicLayeredMoves.h" |
Syntax
USTRUCT (BlueprintType )
struct FLayeredMove_JumpTo : public FLayeredMoveBase
Inheritance Hierarchy
- FLayeredMoveBase → FLayeredMove_JumpTo
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLayeredMove_JumpTo() |
DefaultMovementSet/LayeredMoves/BasicLayeredMoves.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FLayeredMove_JumpTo() |
DefaultMovementSet/LayeredMoves/BasicLayeredMoves.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bUseActorRotation | bool | If true this jump will use the actor's rotation for jump direction instead of the Jump Rotation property. | DefaultMovementSet/LayeredMoves/BasicLayeredMoves.h |
|
| JumpDistance | float | Distance this jump impulse is supposed to reach. | DefaultMovementSet/LayeredMoves/BasicLayeredMoves.h |
|
| JumpHeight | float | Height this jump impulse is supposed to reach. | DefaultMovementSet/LayeredMoves/BasicLayeredMoves.h |
|
| JumpRotation | FRotator | Direction to jump in. Only used if bUseActorRotation is false. | DefaultMovementSet/LayeredMoves/BasicLayeredMoves.h |
|
| PathOffsetCurve | TObjectPtr< UCurveVector > | Optional CurveVector used to offset the actor from the path. | DefaultMovementSet/LayeredMoves/BasicLayeredMoves.h |
|
| TimeMappingCurve | TObjectPtr< UCurveFloat > | Optional CurveFloat to modify jump impulse over the duration of the impulse. | DefaultMovementSet/LayeredMoves/BasicLayeredMoves.h |
|
Functions
Public
Overridden from FLayeredMoveBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
DefaultMovementSet/LayeredMoves/BasicLayeredMoves.h | ||
virtual FLayeredMoveBase * Clone() |
DefaultMovementSet/LayeredMoves/BasicLayeredMoves.h | ||
virtual bool GenerateMove
(
const FMoverTickStartData& StartState, |
Generate a movement. | DefaultMovementSet/LayeredMoves/BasicLayeredMoves.h | |
virtual UScriptStruct * GetScriptStruct() |
DefaultMovementSet/LayeredMoves/BasicLayeredMoves.h | ||
virtual void NetSerialize
(
FArchive& Ar |
DefaultMovementSet/LayeredMoves/BasicLayeredMoves.h | ||
virtual FString ToSimpleString() |
DefaultMovementSet/LayeredMoves/BasicLayeredMoves.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float EvaluateFloatCurveAtFraction
(
const UCurveFloat& Curve, |
Helper function to apply TimeMappingCurve to the layered move. | DefaultMovementSet/LayeredMoves/BasicLayeredMoves.h | |
FVector GetPathOffset
(
const float MoveFraction |
Helper function to apply movement vector offset from the PathOffsetCurve | DefaultMovementSet/LayeredMoves/BasicLayeredMoves.h | |
FVector GetRelativeLocation
(
float MoveFraction, |
Helper function for calculating position in jump given move fraction of total time for move. | DefaultMovementSet/LayeredMoves/BasicLayeredMoves.h |