UCharacterMovementComponent::MaxAcceleration
#include "GameFramework/CharacterMovementComponent.h"
Access: public
Specifiers: UPROPERTYEditAnywhereBlueprintReadWrite
Description
Maximum rate of change of velocity for the character, controlling how quickly it speeds up or changes direction.
Caveats & Gotchas
- • GetMaxAcceleration() is a virtual accessor that some movement modes and derived classes override to compute a different effective value — reading this field directly can bypass that logic.
- • Doesn't cap top speed by itself; MaxWalkSpeed and similar per-mode speed caps are what actually limit velocity.
Signature
float MaxAcceleration Example
Snappier acceleration C++
GetCharacterMovement()->MaxAcceleration = 4096.f; Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?