UCharacterMovementComponent::NetProxyShrinkHalfHeight
#include "GameFramework/CharacterMovementComponent.h"
Access: public
Specifiers: UPROPERTYEditDefaultsOnlyAdvancedDisplay
Description
Shrinks a simulated proxy's collision capsule half-height by this amount, compensating for network rounding error that could otherwise cause the proxy to visibly encroach into geometry.
Caveats & Gotchas
- • The header explicitly notes changing this during gameplay isn't supported — set it in defaults or during construction, not at runtime.
- • Works together with AdjustProxyCapsuleSize(), which is what actually applies the shrink; see NetProxyShrinkRadius for the matching radius adjustment.
Signature
float NetProxyShrinkHalfHeight Example
Shrink proxy capsule half-height slightly C++
GetCharacterMovement()->NetProxyShrinkHalfHeight = 0.15f; Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?