INetworkPredictionInterface::SmoothCorrection

Client hooks.

Windows
MacOS
Linux

Override Hierarchy

INetworkPredictionInterface::SmoothCorrection()

UCharacterMovementComponent::SmoothCorrection()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Interfaces/NetworkPredictionInterface.h

Include

#include "Interfaces/NetworkPredictionInterface.h"

Syntax

virtual void SmoothCorrection
(
    const FVector & OldLocation,
    const FQuat & OldRotation,
    const FVector & NewLocation,
    const FQuat & NewRotation
)

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss