Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/DefaultMovementSet > API/Plugins/Mover/DefaultMovementSet/LayeredMoves
Inheritance Hierarchy
- FLayeredMoveBase
- FLayeredMove_MoveTo
- FLayeredMove_MoveToDynamic
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_MoveTo : public FLayeredMoveBase
Remarks
MoveTo: Move Actor from the starting location to the target location over a duration of time.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bRestrictSpeedToExpected | If true, will restrict speed to where the actor is expected to be (in regard to start, end and duration) | |
| TObjectPtr< UCurveVector > | PathOffsetCurve | Optional CurveVector used to offset the actor from the path. | |
| FVector | StartLocation | Location to Start the MoveTo move from. | |
| FVector | TargetLocation | Location to move towards. | |
| TObjectPtr< UCurveFloat > | TimeMappingCurve | Optional CurveFloat to apply to how fast the actor moves as they get closer to the target location. |
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 | GetPathOffsetInWorldSpace
(
const float MoveFraction |
Helper function to apply movement vector offset from the PathOffsetCurve |
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 |