Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > FNetworkPredictionData_Client_Character
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 |
float UpdateTimeStampAndDeltaTime
&40;
float DeltaTime,
ACharacter & CharacterOwner,
class UCharacterMovementComponent & CharacterMovementComponent
&41;
Remarks
Update CurentTimeStamp from passed in DeltaTime. It will measure the accuracy between passed in DeltaTime and how Server will calculate its DeltaTime. If inaccuracy is too high, it will reset CurrentTimeStamp to maintain a high level of accuracy. DeltaTime to use for Client's physics simulation prior to replicate move to server.