Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/DefaultMovementSet > API/Plugins/Mover/DefaultMovementSet/InstantMovementEffects
Inheritance Hierarchy
- FInstantMovementEffect
- FApplyVelocityEffect
References
| Module | Mover |
| Header | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/DefaultMovementSet/InstantMovementEffects/BasicInstantMovementEffects.h |
| Include | #include "DefaultMovementSet/InstantMovementEffects/BasicInstantMovementEffects.h" |
Syntax
USTRUCT (BlueprintType )
struct FApplyVelocityEffect : public FInstantMovementEffect
Remarks
Apply Velocity: provides an impulse velocity to the actor after (optionally) forcing them into a particular movement mode Note: this only applies the impulse for one tick!
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bAdditiveVelocity | If true VelocityToApply will be added to current velocity on this actor. If false velocity will be set directly to VelocityToApply. | |
| FName | ForceMovementMode | Optional movement mode name to force the actor into before applying the impulse velocity. | |
| FVector | VelocityToApply | Velocity to apply to the actor. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FInstantMovementEffect
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
||
| bool | ApplyMovementEffect
(
FApplyMovementEffectParams& ApplyEffectParams, |
||
| FInstantMovementEffect * | Clone () |
||
| UScriptStruct * | |||
| void | NetSerialize
(
FArchive& Ar |
||
| FString |