Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FAsyncNetworkPhysicsComponent
Description
Returns the time in seconds between the frame of the latest received state and the latest frame we have reached. This can be used as a quantity that is stable over the course of a resimulation (from rewind to last frame of resim) and grows with the amount of time being resimulated We use this to indicate how much more we should decay input for instance when we have high RTT compared to some baseline decay
| Name | GetForwardPredictionTime |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Physics/NetworkPhysicsComponent.h |
| Include Path | #include "Physics/NetworkPhysicsComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/NetworkPhysicsComponent.cpp |
const float GetForwardPredictionTime() const