UCharacterMovementComponent::ServerExceedsAllowablePositionError

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

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).

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