Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/DefaultMovementSet > API/Plugins/Mover/DefaultMovementSet/LayeredMoves
Inheritance Hierarchy
- FLayeredMoveBase
- FLayeredMove_RadialImpulse
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_RadialImpulse : public FLayeredMoveBase
Remarks
RadialImpulse applies a velocity pulling or pushing away from a given world location to the target actor
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsPush | If true the velocity applied will push actor away from location, otherwise this layered move wil pull the actor towards it. | |
| bool | bNoVerticalVelocity | Whether to apply vertical velocity (based off mover components up direction) to the actor affected by this layered move. | |
| bool | bUseFixedWorldDirection | If true velocity added to the actor will be in the direction of FixedWorldDirection, otherwise it will be calculated from the position of the actor and velocity location. | |
| TObjectPtr< UCurveFloat > | DistanceFalloff | Optional Curvefloat to dictate falloff of velocity as you get further from the velocity location. | |
| FRotator | FixedWorldDirection | Direction to apply velocity from the radial impulse in. This is only taken into account if UseFixedWorldDirection is true. | |
| FVector | Location | Location to pull or push actor from. | |
| TObjectPtr< AActor > | LocationActor | Optional Actor to pull or push this actor from. Note: this overrides the Location Property. | |
| float | Magnitude | Magnitude of velocity applied to actors in range. | |
| TObjectPtr< UCurveFloat > | MagnitudeOverTime | Optional Curvefloat to dictate magnitude of velocity applied over time. | |
| float | Radius | Radius from the location to apply radial velocity. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
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 |