np2.PredictiveInterpolation.MinExpectedDistanceCovered
np2.PredictiveInterpolation.MinExpectedDistanceCovered
#Overview
name: np2.PredictiveInterpolation.MinExpectedDistanceCovered
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
Value between 0-1, in percentage where 0.25 = 25%. How much of the expected distance based on replication velocity should the object have covered in a simulation tick to Not be considered stuck.
It is referenced in 1
C++ source file.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/Engine/Private/PhysicsEngine/PhysicsReplication.cpp:153
Scope (from outer to inner):
file
namespace PhysicsReplicationCVars
namespace PredictiveInterpolationCVars
Source code excerpt:
float MinExpectedDistanceCovered = 0.5f;
static FAutoConsoleVariableRef CVarMinExpectedDistanceCovered(TEXT("np2.PredictiveInterpolation.MinExpectedDistanceCovered"), MinExpectedDistanceCovered, TEXT("Value between 0-1, in percentage where 0.25 = 25%. How much of the expected distance based on replication velocity should the object have covered in a simulation tick to Not be considered stuck."));
float ErrorAccumulationDecreaseMultiplier = 0.5f;
static FAutoConsoleVariableRef CVarErrorAccumulationDecreaseMultiplier(TEXT("np2.PredictiveInterpolation.ErrorAccumulationDecreaseMultiplier"), ErrorAccumulationDecreaseMultiplier, TEXT("Multiplier to adjust how fast we decrease accumulated error time when we no longer accumulate error."));
float ErrorAccumulationSeconds = 3.0f;
static FAutoConsoleVariableRef CVarErrorAccumulationSeconds(TEXT("np2.PredictiveInterpolation.ErrorAccumulationSeconds"), ErrorAccumulationSeconds, TEXT("Perform a reposition if replication have not been able to cover the min expected distance towards the target for this amount of time."));