UCharacterMovementComponent::BrakingFriction
#include "GameFramework/CharacterMovementComponent.h"
Access: public
Specifiers: UPROPERTYEditAnywhereBlueprintReadWrite
Description
Friction coefficient used specifically for braking (stopping), separate from the friction used during normal movement.
Caveats & Gotchas
- • Only has an effect if bUseSeparateBrakingFriction is true; otherwise the current movement mode's normal friction (e.g. GroundFriction) is used for braking instead, multiplied by BrakingFrictionFactor.
- • Editable in the details panel only when bUseSeparateBrakingFriction is enabled, since the property has an EditCondition tied to that flag.
Signature
float BrakingFriction Example
Enable and tune separate braking friction C++
UCharacterMovementComponent* Move = GetCharacterMovement();
Move->bUseSeparateBrakingFriction = true;
Move->BrakingFriction = 3.0f; Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?