UCharacterMovementComponent::MinAnalogWalkSpeed
#include "GameFramework/CharacterMovementComponent.h"
Access: public
Specifiers: UPROPERTYEditAnywhereBlueprintReadWrite
Description
The ground speed the character accelerates toward when analog input, such as a gamepad stick, is at minimum non-zero tilt, preventing overly slow walking from small stick deflections.
Caveats & Gotchas
- • Only affects input read as an analog magnitude (gamepad or touch); keyboard input is always treated as full magnitude and ignores this value.
- • Set too high, small stick nudges will feel like they snap the character to a run instead of a gentle walk.
Signature
float MinAnalogWalkSpeed Example
Guarantee a minimum walk speed for gamepad input C++
GetCharacterMovement()->MinAnalogWalkSpeed = 100.f; See Also
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?