G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FPhysicsPredictionSettings Struct Reference

Physics Prediction Settings. More...

Public Member Functions

Functions
FPhysicsPredictionSettings & opAssign (FPhysicsPredictionSettings Other)

Public Attributes

Replication
bool bEnablePhysicsResimulation
 Forces the PlayerController to sync inputs as used in Physics Prediction. Only enable this if actively using a custom solution that needs this enabled for resimulation. This is automatically enabled when using the recommended NetworkPhysicsComponent on a pawn to handle Rewind / Resimulation.
float32 ResimulationErrorThreshold
 Distance in centimeters before a state discrepancy triggers a resimulation.
float32 MaxSupportedLatencyPrediction
 Amount of RTT (Round Trip Time) latency for the prediction to support in milliseconds.
bool bEnablePhysicsPrediction
 Enable networked physics prediction (experimental) Note: If an AActor::PhysicsReplicationMode is set to use Resimulation this will allow physics to cache history which is required by resimulation replication. Note: This can also affect how physics is solved even when not using resimulation.

Detailed Description

Physics Prediction Settings.

Member Function Documentation

◆ opAssign()

Member Data Documentation

◆ bEnablePhysicsPrediction

bool bEnablePhysicsPrediction

Enable networked physics prediction (experimental) Note: If an AActor::PhysicsReplicationMode is set to use Resimulation this will allow physics to cache history which is required by resimulation replication. Note: This can also affect how physics is solved even when not using resimulation.

◆ bEnablePhysicsResimulation

bool bEnablePhysicsResimulation

Forces the PlayerController to sync inputs as used in Physics Prediction. Only enable this if actively using a custom solution that needs this enabled for resimulation. This is automatically enabled when using the recommended NetworkPhysicsComponent on a pawn to handle Rewind / Resimulation.

◆ MaxSupportedLatencyPrediction

float32 MaxSupportedLatencyPrediction

Amount of RTT (Round Trip Time) latency for the prediction to support in milliseconds.

◆ ResimulationErrorThreshold

float32 ResimulationErrorThreshold

Distance in centimeters before a state discrepancy triggers a resimulation.