Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Interfaces > API/Runtime/Engine/Interfaces/INetworkPredictionInterface
- INetworkPredictionInterface::SmoothCorrection()
- UCharacterMovementComponent::SmoothCorrection()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Interfaces/NetworkPredictionInterface.h |
Include | #include "Interfaces/NetworkPredictionInterface.h" |
virtual void SmoothCorrection
&40;
const FVector & OldLocation,
const FQuat & OldRotation,
const FVector & NewLocation,
const FQuat & NewRotation
&41;
Remarks
(Client) After receiving a network update of position, allow some custom smoothing, given the old transform before the correction and new transform from the update.