Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/DefaultMovementSet
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UMoverComponent
- UCharacterMoverComponent
References
| Module | Mover |
| Header | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/DefaultMovementSet/CharacterMoverComponent.h |
| Include | #include "DefaultMovementSet/CharacterMoverComponent.h" |
Syntax
UCLASS (BlueprintType, Meta=(BlueprintSpawnableComponent))
class UCharacterMoverComponent : public UMoverComponent
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bHandleJump | Whether this component should directly handle jumping or not. | |
| bool | bWantsToCrouch | If true, try to crouch (or keep crouching) on next update. | |
| FMover_OnStanceChanged | OnStanceChanged | Broadcast when this actor changes stances. | |
| FMovementModifierHandle | StanceModifierHandle | ID used to keep track of the modifier responsible for crouching. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CanActorJump () |
Can this Actor jump? | |
| bool | CanCrouch () |
Whether this actor can currently crouch or not. | |
| void | Crouch () |
Perform crouch on actor. | |
| bool | IsAirborne () |
Is this actor in a airborne state? (e.g. Flying, Falling) | |
| bool | IsCrouching () |
Returns true if currently crouching | |
| bool | IsFalling () |
Is this actor in a falling state? Note that this includes upwards motion induced by jumping. | |
| bool | IsFlying () |
Returns true if currently flying (moving through a non-fluid volume without resting on the ground) | |
| bool | IsOnGround () |
Is this actor in a grounded state? (e.g. Walking) | |
| bool | Is this actor sliding on an unwalkable slope. | ||
| bool | IsSwimming () |
Is this actor in a Swimming state? (e.g. Swimming) | |
| bool | Jump () |
Perform jump on actor. | |
| void | OnMoverPreSimulationTick
(
const FMoverTimeStep& TimeStep, |
||
| void | UnCrouch () |
Perform uncrouch on actor. |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| void | BeginPlay () |
Begins Play for the component. |