UCharacterMovementComponent::MaxWalkSpeedCrouched
#include "GameFramework/CharacterMovementComponent.h"
Access: public
Specifiers: UPROPERTYEditAnywhereBlueprintReadWrite
Description
Maximum ground speed while the character is crouched, capping movement speed independently of MaxWalkSpeed.
Caveats & Gotchas
- • Only takes effect while bIsCrouched is true; standing movement always uses MaxWalkSpeed regardless of this value.
- • Changing this at runtime doesn't retroactively clamp the current Velocity — the new cap is only enforced on the next acceleration update.
Signature
float MaxWalkSpeedCrouched Example
Slow crouched movement for stealth C++
GetCharacterMovement()->MaxWalkSpeedCrouched = 150.f; Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?