Limen Framework 0.1 Help

ULimenMovementComponent

Overview

ULimenMovementComponent extends UCharacterMovementComponent and provides functionality for managing different walking modes such as sprint, slow walk, and air strafing. It also handles network prediction and replication of certain properties.

Properties

Type

Name

Access

Description

EWalkModifier

WalkMode

Private

Current walking mode (Sprint, Slow Walk, None).

float

MaxWalkSpeed_Cached

Private

Cached maximum walk speed.

float

MaxWalkSpeedCrouched_Cached

Private

Cached maximum crouched walk speed.

Functions

Return Type

Signature

Description

void

SetSprintMode(const bool bEnabled)

Enables or disables sprint mode.

bool

IsSprinting() const

Checks if the character is currently sprinting.

void

SetSlowWalkMode(const bool bEnabled)

Enables or disables slow walk mode.

bool

IsSlowWalking() const

Checks if the character is currently in slow walk mode.

void

SetWalkModifier(EWalkModifier NewModifier)

Sets the current walking mode.

EWalkModifier

GetWalkModifier() const

Gets the current walking mode.

void

SetMaxSprintSpeed(const float Multiplier)

Sets the multiplier for sprint speed.

float

GetMaxSprintSpeed() const

Gets the multiplier for sprint speed.

void

SetCrouchSprintSpeed(const float Multiplier)

Sets the multiplier for crouched sprint speed.

float

GetCrouchSprintSpeed() const

Gets the multiplier for crouched sprint speed.

void

SetAllowAirStrafing(const bool bAllow)

Enables or disables air strafing.

void

SetAllowSurfing(const bool bAllow)

Enables or disables surfing.

Usage & Implementation Notes

  • The component handles network prediction and replication for properties like bEnableAirStrafing and bEnableSurfing.

  • It overrides several movement-related functions to customize behavior based on the current walking mode.

  • The component logs the character's speed if bLogCurrentSpeed is enabled.

22 May 2026