Navigation
API > API/Plugins > API/Plugins/Mover
MultiJump: layered move for handling multiple jumps without touching the ground i.e. a double jump. Note: This layered move ends automatically when the actor hits a valid floor so duration is expected to be less than 0.
| Name | FLayeredMove_MultiJump |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/DefaultMovementSet/LayeredMoves/MultiJumpLayeredMove.h |
| Include Path | #include "DefaultMovementSet/LayeredMoves/MultiJumpLayeredMove.h" |
Syntax
USTRUCT (BlueprintType )
struct FLayeredMove_MultiJump : public FLayeredMoveBase
Inheritance Hierarchy
- FLayeredMoveBase → FLayeredMove_MultiJump
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FLayeredMove_MultiJump() |
DefaultMovementSet/LayeredMoves/MultiJumpLayeredMove.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FLayeredMove_MultiJump() |
DefaultMovementSet/LayeredMoves/MultiJumpLayeredMove.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MaximumInAirJumps | int32 | Maximum Jumps an actor could perform while in the air | DefaultMovementSet/LayeredMoves/MultiJumpLayeredMove.h |
|
| UpwardsSpeed | float | Units per second, in whatever direction the target actor considers 'up'. | DefaultMovementSet/LayeredMoves/MultiJumpLayeredMove.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool WantsToJump
(
const FMoverInputCmdContext& InputCmd |
Returns true if input context has state that the actor wants to jump | DefaultMovementSet/LayeredMoves/MultiJumpLayeredMove.h |
Overridden from FLayeredMoveBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
DefaultMovementSet/LayeredMoves/MultiJumpLayeredMove.h | ||
virtual FLayeredMoveBase * Clone() |
DefaultMovementSet/LayeredMoves/MultiJumpLayeredMove.h | ||
virtual bool GenerateMove
(
const FMoverTickStartData& StartState, |
Generate a movement. | DefaultMovementSet/LayeredMoves/MultiJumpLayeredMove.h | |
virtual UScriptStruct * GetScriptStruct() |
DefaultMovementSet/LayeredMoves/MultiJumpLayeredMove.h | ||
virtual void NetSerialize
(
FArchive& Ar |
DefaultMovementSet/LayeredMoves/MultiJumpLayeredMove.h | ||
virtual FString ToSimpleString() |
DefaultMovementSet/LayeredMoves/MultiJumpLayeredMove.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool PerformJump
(
const FMoverDefaultSyncState* SyncState, |
DefaultMovementSet/LayeredMoves/MultiJumpLayeredMove.h |