Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/PhysicsEngine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/PhysicsSettings.h |
| Include | #include "PhysicsEngine/PhysicsSettings.h" |
Syntax
USTRUCT ()
struct FPhysicsPredictionSettings
Remarks
Physics Prediction Settings
Variables
| Type | Name | Description | |
|---|---|---|---|
| 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. | |
| bool | bEnablePhysicsResimulation | Forces the PlayerController to sync inputs as used in Physics Prediction. | |
| float | MaxSupportedLatencyPrediction | Amount of RTT (Round Trip Time) latency for the prediction to support in milliseconds. | |
| float | ResimulationErrorThreshold | Distance in centimeters before a state discrepancy triggers a resimulation |
Constructors
| Type | Name | Description | |
|---|---|---|---|