Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/UCharacterMovementComponent
- INetworkPredictionInterface::SmoothCorrection()
- UCharacterMovementComponent::SmoothCorrection()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h |
Include | #include "GameFramework/CharacterMovementComponent.h" |
Source | /Engine/Source/Runtime/Engine/Private/Components/CharacterMovementComponent.cpp |
virtual void SmoothCorrection
&40;
const FVector & OldLocation,
const FQuat & OldRotation,
const FVector & NewLocation,
const FQuat & NewRotation
&41;
Remarks
React to new transform from network update. Sets bNetworkSmoothingComplete to false to ensure future smoothing updates. IMPORTANT: It is expected that this function triggers any movement/transform updates to match the network update if desired.