UCharacterMovementComponent::ServerExceedsAllowablePositionError

Check position error within [ServerCheckClientError()](API\Runtime\Engine\GameFramework\UCharacterMovementComponent\ServerCheckClien-).

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 bool ServerExceedsAllowablePositionError
(
    float ClientTimeStamp,
    float DeltaTime,
    const FVector & Accel,
    const FVector & ClientWorldLocation,
    const FVector & RelativeClientLocation,
    UPrimitiveComponent * ClientMovementBase,
    FName ClientBaseBoneName,
    uint8 ClientMovementMode
)

Remarks

Check position error within ServerCheckClientError(). Set bNetworkLargeClientCorrection to true if the correction should be prioritized (delayed less in SendClientAdjustment).