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
struct FPhysicsPredictionSettings
Remarks
Physics Prediction Settings
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bEnablePhysicsPrediction | Enable networked physics prediction | |
| bool | bEnablePhysicsResimulation | Enable physics resimulation | |
| 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 | |
|---|---|---|---|