UCharacterMovementComponent::NetProxyShrinkRadius
#include "GameFramework/CharacterMovementComponent.h"
Access: public
Specifiers: UPROPERTYEditDefaultsOnlyAdvancedDisplay
Description
Shrinks a simulated proxy's collision capsule radius 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 NetProxyShrinkHalfHeight for the matching half-height adjustment.
Signature
float NetProxyShrinkRadius Example
Shrink proxy capsule radius slightly C++
GetCharacterMovement()->NetProxyShrinkRadius = 0.15f; Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?