Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Physics
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Physics/NetworkPhysicsSettingsComponent.h |
| Include | #include "Physics/NetworkPhysicsSettingsComponent.h" |
Syntax
USTRUCT ()
struct FNetworkPhysicsSettingsResimulation
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | AngVelStabilityMultiplier | Overrides CVar: np2.Resim.AngVelStabilityMultiplier Recommended range between 0.0-1.0. Lower value means more stable angular velocity corrections. | |
| uint32: 1 | bOverrideAngVelStabilityMultiplier | ||
| uint32: 1 | bOverridePosStabilityMultiplier | ||
| uint32: 1 | bOverrideResimulationErrorAngularVelocityThreshold | ||
| uint32: 1 | bOverrideResimulationErrorLinearVelocityThreshold | ||
| uint32: 1 | bOverrideResimulationErrorPositionThreshold | ||
| uint32: 1 | bOverrideResimulationErrorRotationThreshold | ||
| uint32: 1 | bOverrideRotStabilityMultiplier | ||
| uint32: 1 | bOverrideRuntimeCorrectConnectedBodies | ||
| uint32: 1 | bOverrideRuntimeCorrectionEnabled | ||
| uint32: 1 | bOverrideRuntimeVelocityCorrection | ||
| uint32: 1 | bOverrideVelStabilityMultiplier | ||
| bool | bRuntimeCorrectConnectedBodies | Overrides CVar: np2.Resim.RuntimeCorrectConnectedBodies If true runtime position and rotation correction will also shift transform of any connected physics objects. Used if RuntimeCorrectionEnabled is true. | |
| bool | bRuntimeCorrectionEnabled | Overrides CVar: np2.Resim.RuntimeCorrectionEnabled Apply positional and rotational runtime corrections while within resim trigger distance. | |
| bool | bRuntimeVelocityCorrection | Overrides CVar: np2.Resim.RuntimeVelocityCorrection Apply linear and angular velocity corrections in runtime while within resim trigger distance. Used if RuntimeCorrectionEnabled is true. | |
| float | PosStabilityMultiplier | Overrides CVar: np2.Resim.PosStabilityMultiplier Recommended range between 0.0-1.0. Lower value means more stable positional corrections. | |
| float | ResimulationErrorAngularVelocityThreshold | Overrides Project Settings -> Physics -> Replication -> Physics Prediction -> Resimulation Error Angular Velocity Threshold Degrees / second that the object is allowed to desync from the server before triggering a resimulation, within this threshold runtime correction can be performed if RuntimeCorrectionEnabled is true. | |
| float | ResimulationErrorLinearVelocityThreshold | Overrides Project Settings -> Physics -> Replication -> Physics Prediction -> Resimulation Error Linear Velocity Threshold Velocity difference in centimeters / second that the object is allowed to desync from the server before triggering a resimulation, within this threshold runtime correction can be performed if RuntimeCorrectionEnabled is true. | |
| float | ResimulationErrorPositionThreshold | Overrides Project Settings -> Physics -> Replication -> Physics Prediction -> Resimulation Error Position Threshold Distance that the object is allowed to desync from the server before triggering a resimulation, within this threshold runtime correction can be performed if RuntimeCorrectionEnabled is true. | |
| float | ResimulationErrorRotationThreshold | Overrides Project Settings -> Physics -> Replication -> Physics Prediction -> Resimulation Error Rotation Threshold Rotation difference in degrees that the object is allowed to desync from the server before triggering a resimulation, within this threshold runtime correction can be performed if RuntimeCorrectionEnabled is true. | |
| float | RotStabilityMultiplier | Overrides CVar: np2.Resim.RotStabilityMultiplier Recommended range between 0.0-1.0. Lower value means more stable rotational corrections. | |
| float | VelStabilityMultiplier | Overrides CVar: np2.Resim.VelStabilityMultiplier Recommended range between 0.0-1.0. Lower value means more stable linear velocity corrections. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | |||
| float | |||
| float | GetResimulationErrorAngularVelocityThreshold
(
uint32 DefaultValue |
||
| float | GetResimulationErrorLinearVelocityThreshold
(
uint32 DefaultValue |
||
| float | GetResimulationErrorPositionThreshold
(
uint32 DefaultValue |
||
| float | GetResimulationErrorRotationThreshold
(
uint32 DefaultValue |
||
| uint32 | GetResimulationErrorThreshold
(
uint32 DefaultValue |
||
| float | |||
| bool | |||
| bool | |||
| bool | |||
| float |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32 | bOverrideResimulationErrorThreshold_DEPRECATED | Deprecated UE 5.5 - bOverrideResimulationErrorThreshold has been renamed, please use bOverrideResimulationErrorPositionThreshold | |
| uint32 | ResimulationErrorThreshold_DEPRECATED | Deprecated UE 5.5 - ResimulationErrorThreshold has been renamed, please use ResimulationErrorPositionThreshold |