RealDocs

UCharacterMovementComponent::MaxCustomMovementSpeed

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

Description

Caps ground speed while the component is in a user-defined Custom movement mode (MOVE_Custom).

Caveats & Gotchas

  • Only takes effect while MovementMode is MOVE_Custom — it's ignored in Walking, Falling, Flying, and Swimming.
  • GetMaxSpeed() must actually read this value for MOVE_Custom for the cap to apply; setting the property alone does nothing unless your custom movement logic consults it.

Signature

float MaxCustomMovementSpeed

Example

Cap speed for a custom movement mode C++
GetCharacterMovement()->MaxCustomMovementSpeed = 800.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.