UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FPhysicsReplicationLODSettings Struct Reference

#include <PhysicsSettings.h>

Public Member Functions

 GENERATED_BODY ()
 
 FPhysicsReplicationLODSettings ()
 

Public Attributes

bool bEnablePhysicsReplicationLOD
 
float MinimumBaseDistance
 
float BaseDistanceRadiusMultiplier
 
float BaseDistancesForResimulationMode
 
float BaseDistancesForFullPrediction
 
float TimeOverDistance
 

Detailed Description

Default settings for physics replication LOD

Constructor & Destructor Documentation

◆ FPhysicsReplicationLODSettings()

FPhysicsReplicationLODSettings::FPhysicsReplicationLODSettings ( )
inline

Member Function Documentation

◆ GENERATED_BODY()

FPhysicsReplicationLODSettings::GENERATED_BODY ( )

Member Data Documentation

◆ BaseDistanceRadiusMultiplier

float FPhysicsReplicationLODSettings::BaseDistanceRadiusMultiplier

Multiplier for adding focal particles bounding box radius to the physics replication LODs Base Distance. Value of 0.75 adds 75% of the radius on top of MinimumBaseDistance.

◆ BaseDistancesForFullPrediction

float FPhysicsReplicationLODSettings::BaseDistancesForFullPrediction

'BaseDistance' is a result of MinimumBaseDistance + (the focal particles radius * BaseDistanceRadiusMultiplier) Set how many BaseDistance's from the focal particle where within physics replicated objects will be in the clients forward predicted timeline. Physics replication LOD gradually forward predicts the physics replication when objects get closer to focal points in LOD. Read the TimeOverDistance property for details on how forward prediction is gradually applied up until the distance of DistanceForFullPrediction. NOTE: The local player is typically forward predicted (and should then be a focal particle in LOD), while other physics replicated objects are typically replicated without forward prediction. NOTE: The resulting distance will be added on top of the focal particles radius.

◆ BaseDistancesForResimulationMode

float FPhysicsReplicationLODSettings::BaseDistancesForResimulationMode

'BaseDistance' is a result of MinimumBaseDistance + (the focal particles radius * BaseDistanceRadiusMultiplier) Set how many BaseDistance's from the focal particle where within physics replicated objects will use EPhysicsReplicationMode::Resimulation. Resimulation is a fully forward predicted physics replication, for a seamless LOD transition this should be equal to or lower than BaseDistancesForFullPrediction, read that property for information. NOTE: The resulting distance will be added on top of the focal particles radius.

◆ bEnablePhysicsReplicationLOD

bool FPhysicsReplicationLODSettings::bEnablePhysicsReplicationLOD

Enable physics replication LOD

◆ MinimumBaseDistance

float FPhysicsReplicationLODSettings::MinimumBaseDistance

Minimum distance in the physics replication LODs Base Distance.

◆ TimeOverDistance

float FPhysicsReplicationLODSettings::TimeOverDistance

Time/Distance alignment value, used as Distance * TimeOverDistance = Time Time is how far behind the current (forward predicted) timeline replication should run Starts outside of DistanceForFullPrediction (calculated from BaseDistancesForFullPrediction) and gets clamped by the received states timeline. Lower value = Slower timeline transition which produces a larger LOD radius. EXAMPLE: At 500cm away an object should be 37,5ms behind the clients timeline if DistanceForFullPrediction is 250cm and TimeOverDistance is 0.15ms/cm. (500cm - 250cm) * 0.15ms/cm = 37,5ms


The documentation for this struct was generated from the following file: