RealDocs

UCharacterMovementComponent::PerchAdditionalHeight

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

Description

Extra distance added to MaxStepHeight when determining how high above a walkable floor the character can perch, letting it hang slightly further off an edge.

Caveats & Gotchas

  • MaxStepHeight is still required to initiate the step up — this only extends how far the perch check reaches, it doesn't replace the step-height requirement.
  • AdvancedDisplay property, so it won't appear in the Details panel unless advanced properties are made visible.

Signature

float PerchAdditionalHeight

Example

Allow a bit more overhang when perching on ledges C++
GetCharacterMovement()->PerchAdditionalHeight = 20.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.