Module |
|
Header |
/Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionDriver.h |
Include |
#include "NetworkPredictionDriver.h" |
static void ProduceInput
(
DriverType * Driver,
int32 DeltaTimeMS,
InputType * InputCmd
)
ProduceInput
Called on locally controlled simulations prior to ticking a new frame. This is to allow input to be as fresh as possible. submitting input from an Actor tick would be too late in the frame.
currently input is sampled/broadcast in PC tick and this is still causing a frame of latency in the samples. This will be fixed in the future.