UCharacterMovementComponent::ClientAdjustRootMotionSourcePosition_Implementation

Replicate root motion source 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 ClientAdjustRootMotionSourcePosition_Implementation
(
    float TimeStamp,
    FRootMotionSourceGroup ServerRootMotion,
    bool bHasAnimRootMotion,
    float ServerMontageTrackPosition,
    FVector ServerLoc,
    FVector_NetQuantizeNormal ServerRotation,
    float ServerVelZ,
    UPrimitiveComponent * ServerBase,
    FName ServerBoneName,
    bool bHasBase,
    bool bBaseRelativePosition,
    uint8 ServerMovementMode
)

Remarks

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