UCharacterMovementComponent::ClientAdjustRootMotionPosition

Replicate position correction to client when using root motion for movement.

Choose your operating system:

Windows

macOS

Linux

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

Syntax

virtual void ClientAdjustRootMotionPosition
(
    float TimeStamp,
    float ServerMontageTrackPosition,
    FVector ServerLoc,
    FVector_NetQuantizeNormal ServerRotation,
    float ServerVelZ,
    UPrimitiveComponent * ServerBase,
    FName ServerBoneName,
    bool bHasBase,
    bool bBaseRelativePosition,
    uint8 ServerMovementMode
)

Remarks

Replicate position correction to client when using root motion for movement. (animation root motion specific)