Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/DefaultMovementSet > API/Plugins/Mover/DefaultMovementSet/MovementModifiers
Inheritance Hierarchy
- FMovementModifierBase
- FStanceModifier
References
| Module | Mover |
| Header | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/DefaultMovementSet/MovementModifiers/StanceModifier.h |
| Include | #include "DefaultMovementSet/MovementModifiers/StanceModifier.h" |
Syntax
USTRUCT (BlueprintType )
struct FStanceModifier : public FMovementModifierBase
Remarks
Stances: Applies settings to the actor to make them go into different stances like crouch or prone(not implemented), affects actor maxacceleration and capsule height Note: This modifier currently uses the CDO of the actor to reset values to "standing" values. This modifier also assumes the actor is using a capsule as it's updated component for now
Variables
| Type | Name | Description | |
|---|---|---|---|
| EStanceMode | ActiveStance |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AdjustCapsule
(
UMoverComponent* MoverComp, |
Modifies the updated component casted to a capsule component. | |
| void | ApplyMovementSettings
(
UMoverComponent* MoverComp |
Applies any movement settings like acceleration or max speed changes. | |
| bool | CanExpand
(
const UCharacterMoverComponent* MoverComp |
||
| const UCapsuleComponent * | GetOriginalCapsuleComponent
(
const UMoverComponent* MoverComp |
Gets CDO capsule component - useful for getting original values. | |
| void | RevertMovementSettings
(
UMoverComponent* MoverComp |
Reverts any movement settings like acceleration or max speed changes. | |
| bool | ShouldExpandingMaintainBase
(
const UCharacterMoverComponent* MoverComp |
Whether expanding should be from the base of the capsule or not. |
Overridden from FMovementModifierBase
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
||
| FMovementModifierBase * | Clone () |
||
| UScriptStruct * | |||
| bool | HasGameplayTag
(
FGameplayTag TagToFind, |
Check modifier for a gameplay tag. | |
| void | NetSerialize
(
FArchive& Ar |
||
| void | OnEnd
(
UMoverComponent* MoverComp, |
Fired when this modifier is deactivated. | |
| void | OnPostMovement
(
UMoverComponent* MoverComp, |
Fired after a Substep | |
| void | OnPreMovement
(
UMoverComponent* MoverComp, |
Fired just before a Substep | |
| void | OnStart
(
UMoverComponent* MoverComp, |
Fired when this modifier is activated. | |
| FString |