unreal.PhysicsPredictionSettings

class unreal.PhysicsPredictionSettings

Bases: StructBase

Physics Prediction Settings

C++ Source:

  • Module: Engine

  • File: PhysicsSettings.h

Editor Properties: (see get_editor_property/set_editor_property)

  • enable_physics_prediction (bool): [Read-Write] Enable networked physics prediction

  • enable_physics_resimulation (bool): [Read-Write] Enable physics resimulation

  • max_supported_latency_prediction (float): [Read-Write] Amount of RTT (Round Trip Time) latency for the prediction to support in milliseconds.

  • resimulation_error_threshold (float): [Read-Write] Distance in centimeters before a state discrepancy triggers a resimulation