UCharacterMovementComponent::StandingDownwardForceScale
#include "GameFramework/CharacterMovementComponent.h"
Access: public
Specifiers: UPROPERTYEditAnywhereBlueprintReadWrite
Description
Multiplier applied to the downward force this character exerts on physics objects it stands on, derived from the character's Mass and gravity.
Caveats & Gotchas
- • Has no effect unless bEnablePhysicsInteraction is enabled.
- • A value of 0 means standing on a physics object applies no weight at all, which can look wrong for objects meant to sink or tip under the character's weight.
- • This is separate from PushForceFactor, which governs lateral impacts rather than standing weight.
Signature
float StandingDownwardForceScale; Example
Make standing weight noticeable on physics props C++
if (UCharacterMovementComponent* MoveComp = GetCharacterMovement())
{
MoveComp->bEnablePhysicsInteraction = true;
MoveComp->StandingDownwardForceScale = 1.0f;
} Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?