RealDocs

UCharacterMovementComponent::MaxDepenetrationWithPawnAsProxy

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

Description

Maximum distance a simulated proxy is allowed to depenetrate per step when overlapping other Pawns, kept intentionally small so local correction doesn't fight the server-authoritative position.

Caveats & Gotchas

  • Defaults to only 2.f, far tighter than MaxDepenetrationWithPawn's 100.f — the header notes a large value isn't wanted here because the server already sends an authoritative position that local pushing would otherwise override.
  • Only used for simulated proxies; the locally owned pawn uses MaxDepenetrationWithPawn instead.

Signature

float MaxDepenetrationWithPawnAsProxy

Example

Slightly loosen proxy pawn depenetration C++
GetCharacterMovement()->MaxDepenetrationWithPawnAsProxy = 5.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.