UCharacterMovementComponent::FallingLateralFriction
#include "GameFramework/CharacterMovementComponent.h"
Access: public
Specifiers: UPROPERTYEditAnywhereBlueprintReadWrite
Description
Friction applied to horizontal movement while falling, slowing lateral velocity over time.
Caveats & Gotchas
- • Default is 0 in stock UE, so characters keep their lateral speed indefinitely while airborne unless you set this or BrakingDecelerationFalling.
- • If bUseSeparateBrakingFriction is false, this value also doubles as the braking friction used when Acceleration is zero, not just general air movement drag.
Signature
float FallingLateralFriction Example
Add drag to airborne lateral movement C++
GetCharacterMovement()->FallingLateralFriction = 1.0f; Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?