Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/UCharacterMovementComponent
Syntax
UPROPERTY (Category="Character Movement: MovementMode", BlueprintReadOnly)
TEnumAsByte < enum EMovementMode > MovementMode
Remarks
Actor's current movement mode (walking, falling, etc).
- walking: Walking on a surface, under the effects of friction, and able to "step up" barriers. Vertical velocity is zero.
- falling: Falling under the effects of gravity, after jumping or walking off the edge of a surface.
- flying: Flying, ignoring the effects of gravity.
- swimming: Swimming through a fluid volume, under the effects of gravity and buoyancy.
- custom: User-defined custom movement mode, including many possible sub-modes. This is automatically replicated through the Character owner and for client-server movement functions.