Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FNetworkPhysicsSettingsDefaultReplication |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Physics/NetworkPhysicsSettingsComponent.h |
| Include Path | #include "Physics/NetworkPhysicsSettingsComponent.h" |
Syntax
USTRUCT ()
struct FNetworkPhysicsSettingsDefaultReplication
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNetworkPhysicsSettingsDefaultReplication() |
Physics/NetworkPhysicsSettingsComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCorrectConnectedBodies | bool | Overrides CVar: p.DefaultReplication.CorrectConnectedBodies When true, transform corrections will also apply to any connected physics object. | Physics/NetworkPhysicsSettingsComponent.h |
|
| bCorrectConnectedBodiesFriction | bool | Overrides CVar: p.DefaultReplication.CorrectConnectedBodiesFriction When true, transform correction on any connected physics object will also recalculate their friction. | Physics/NetworkPhysicsSettingsComponent.h |
|
| bHardsnapInPhysicsThread | bool | Overrides CVar: p.DefaultReplication.Legacy.HardsnapInPT If default replication is used and it's running the legacy flow through Game Thread, allow hardsnapping to be performed on Physics Thread if async physics is enabled. | Physics/NetworkPhysicsSettingsComponent.h |
|
| bOverrideCorrectConnectedBodies | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bOverrideCorrectConnectedBodiesFriction | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bOverrideDefaultLegacyHardsnapInPT | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bOverrideMaxLinearHardSnapDistance | uint32 | Override properties. | Physics/NetworkPhysicsSettingsComponent.h |
|
| MaxLinearHardSnapDistance | float | Overrides CVar: p.MaxLinearHardSnapDistance Hardsnap if distance between current position and extrapolated target position is larger than this value. | Physics/NetworkPhysicsSettingsComponent.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetCorrectConnectedBodies() |
Physics/NetworkPhysicsSettingsComponent.h | ||
bool GetCorrectConnectedBodiesFriction() |
Physics/NetworkPhysicsSettingsComponent.h | ||
bool GetHardsnapDefaultLegacyInPT() |
Physics/NetworkPhysicsSettingsComponent.h | ||
float GetMaxLinearHardSnapDistance
(
float DefaultValue |
Physics/NetworkPhysicsSettingsComponent.h |