Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FNetworkPhysicsSettingsResimulation |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Physics/NetworkPhysicsSettingsComponent.h |
| Include Path | #include "Physics/NetworkPhysicsSettingsComponent.h" |
Syntax
USTRUCT ()
struct FNetworkPhysicsSettingsResimulation
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNetworkPhysicsSettingsResimulation() |
Physics/NetworkPhysicsSettingsComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AngVelStabilityMultiplier | float | Overrides CVar: np2.Resim.AngVelStabilityMultiplier Recommended range between 0.0-1.0. Lower value means more stable angular velocity corrections. | Physics/NetworkPhysicsSettingsComponent.h |
|
| bOverrideAngVelStabilityMultiplier | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bOverridePosStabilityMultiplier | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bOverrideResimulationErrorAngularVelocityThreshold | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bOverrideResimulationErrorLinearVelocityThreshold | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bOverrideResimulationErrorPositionThreshold | uint32 | Override properties. | Physics/NetworkPhysicsSettingsComponent.h |
|
| bOverrideResimulationErrorRotationThreshold | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bOverrideRotStabilityMultiplier | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bOverrideRuntimeCorrectConnectedBodies | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bOverrideRuntimeCorrectionEnabled | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bOverrideRuntimeVelocityCorrection | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bOverrideVelStabilityMultiplier | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bRuntimeCorrectConnectedBodies | bool | 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. | Physics/NetworkPhysicsSettingsComponent.h |
|
| bRuntimeCorrectionEnabled | bool | Overrides CVar: np2.Resim.RuntimeCorrectionEnabled Apply positional and rotational runtime corrections while within resim trigger distance. | Physics/NetworkPhysicsSettingsComponent.h |
|
| bRuntimeVelocityCorrection | bool | Overrides CVar: np2.Resim.RuntimeVelocityCorrection Apply linear and angular velocity corrections in runtime while within resim trigger distance. Used if RuntimeCorrectionEnabled is true. | Physics/NetworkPhysicsSettingsComponent.h |
|
| PosStabilityMultiplier | float | Overrides CVar: np2.Resim.PosStabilityMultiplier Recommended range between 0.0-1.0. Lower value means more stable positional corrections. | Physics/NetworkPhysicsSettingsComponent.h |
|
| ResimulationErrorAngularVelocityThreshold | float | 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. | Physics/NetworkPhysicsSettingsComponent.h |
|
| ResimulationErrorCorrectionSettings | FNetworkPhysicsSettingsResimulationErrorCorrection | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| ResimulationErrorLinearVelocityThreshold | float | 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. | Physics/NetworkPhysicsSettingsComponent.h |
|
| ResimulationErrorPositionThreshold | float | 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. | Physics/NetworkPhysicsSettingsComponent.h |
|
| ResimulationErrorRotationThreshold | float | 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. | Physics/NetworkPhysicsSettingsComponent.h |
|
| RotStabilityMultiplier | float | Overrides CVar: np2.Resim.RotStabilityMultiplier Recommended range between 0.0-1.0. Lower value means more stable rotational corrections. | Physics/NetworkPhysicsSettingsComponent.h |
|
| VelStabilityMultiplier | float | Overrides CVar: np2.Resim.VelStabilityMultiplier Recommended range between 0.0-1.0. Lower value means more stable linear velocity corrections. | Physics/NetworkPhysicsSettingsComponent.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float GetAngVelStabilityMultiplier() |
Physics/NetworkPhysicsSettingsComponent.h | ||
float GetPosStabilityMultiplier() |
Physics/NetworkPhysicsSettingsComponent.h | ||
float GetResimulationErrorAngularVelocityThreshold
(
float DefaultValue |
Physics/NetworkPhysicsSettingsComponent.h | ||
float GetResimulationErrorLinearVelocityThreshold
(
float DefaultValue |
Physics/NetworkPhysicsSettingsComponent.h | ||
float GetResimulationErrorPositionThreshold
(
float DefaultValue |
Physics/NetworkPhysicsSettingsComponent.h | ||
float GetResimulationErrorRotationThreshold
(
float DefaultValue |
Physics/NetworkPhysicsSettingsComponent.h | ||
uint32 GetResimulationErrorThreshold
(
uint32 DefaultValue |
Physics/NetworkPhysicsSettingsComponent.h | ||
float GetRotStabilityMultiplier() |
Physics/NetworkPhysicsSettingsComponent.h | ||
bool GetRuntimeCorrectConnectedBodies() |
Physics/NetworkPhysicsSettingsComponent.h | ||
bool GetRuntimeCorrectionEnabled() |
Physics/NetworkPhysicsSettingsComponent.h | ||
bool GetRuntimeVelocityCorrectionEnabled() |
Physics/NetworkPhysicsSettingsComponent.h | ||
float GetVelStabilityMultiplier() |
Physics/NetworkPhysicsSettingsComponent.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bOverrideResimulationErrorThreshold_DEPRECATED | uint32 | Deprecated UE 5.5 - bOverrideResimulationErrorThreshold has been renamed, please use bOverrideResimulationErrorPositionThreshold | Physics/NetworkPhysicsSettingsComponent.h |
|
| ResimulationErrorThreshold_DEPRECATED | uint32 | Deprecated UE 5.5 - ResimulationErrorThreshold has been renamed, please use ResimulationErrorPositionThreshold | Physics/NetworkPhysicsSettingsComponent.h |
|