RealDocs

UCharacterMovementComponent::Mass

property Engine Blueprint Since 4.0
#include "GameFramework/CharacterMovementComponent.h"
Access: public Specifiers: UPROPERTYEditAnywhereBlueprintReadWrite

Description

Mass of the character's pawn, used to compute the momentum/force it imparts onto objects it interacts with physically.

Caveats & Gotchas

  • Only matters when physics interaction is involved (e.g. pushing simulated physics objects); it has no effect on the character's own movement speed or acceleration.
  • Used together with StandingDownwardForceScale and similar physics-interaction properties — changing Mass alone without those enabled won't produce any visible effect.

Signature

float Mass

Example

Make a heavier character push objects harder C++
GetCharacterMovement()->Mass = 150.f;

Version History

Introduced in: 4.0

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.