UCharacterMovementComponent::NetworkNoSmoothUpdateDistance
#include "GameFramework/CharacterMovementComponent.h"
Access: public
Specifiers: UPROPERTYEditDefaultsOnly
Description
Distance beyond which a character is teleported directly to its corrected server location instead of continuing to smoothly interpolate toward it.
Caveats & Gotchas
- • Should be set larger than NetworkMaxSmoothUpdateDistance — otherwise proxies teleport before smoothing even has a chance to visibly lag.
- • Prevents characters from crawling slowly across large corrections (e.g. after a respawn or a level-streaming jump) by abandoning smoothing past this threshold.
Signature
float NetworkNoSmoothUpdateDistance Example
Teleport past a large correction distance C++
GetCharacterMovement()->NetworkNoSmoothUpdateDistance = 384.f; Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?