RealDocs

UCharacterMovementComponent::GetMinAnalogSpeed

function Engine Blueprint Since 4.0
#include "GameFramework/CharacterMovementComponent.h"
Access: public Specifiers: UFUNCTIONBlueprintCallablevirtual

Description

Returns the minimum speed enforced when moving with partial (analog gamepad) input, for the current movement mode.

Caveats & Gotchas

  • Only returns MinAnalogWalkSpeed for MOVE_Walking, MOVE_NavWalking, and MOVE_Falling — every other movement mode (Flying, Swimming, Custom) returns 0, so analog speed clamping has no effect there.
  • The header's doc comment on this function is copy-pasted from GetMaxAcceleration() and is misleading — it actually governs minimum speed for analog input, not acceleration.

Signature

virtual float GetMinAnalogSpeed() const

Return Type

float

Example

Read the analog speed floor C++
const float MinSpeed = GetCharacterMovement()->GetMinAnalogSpeed();
// Speed will not drop below this while moving with partial stick input on the ground

Version History

Introduced in: 4.0

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.