Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FNetworkPhysicsSettingsPredictiveInterpolation |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Physics/NetworkPhysicsSettingsComponent.h |
| Include Path | #include "Physics/NetworkPhysicsSettingsComponent.h" |
Syntax
USTRUCT ()
struct FNetworkPhysicsSettingsPredictiveInterpolation
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNetworkPhysicsSettingsPredictiveInterpolation() |
Physics/NetworkPhysicsSettingsComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCorrectConnectedBodies | bool | Overrides CVar: np2.PredictiveInterpolation.CorrectConnectedBodies When true, transform corrections will also apply to any connected physics object. | Physics/NetworkPhysicsSettingsComponent.h |
|
| bCorrectConnectedBodiesFriction | bool | Overrides CVar: np2.PredictiveInterpolation.CorrectConnectedBodiesFriction When true, transform correction on any connected physics object will also recalculate their friction. | Physics/NetworkPhysicsSettingsComponent.h |
|
| bDisableSoftSnap | bool | Overrides CVar: np2.PredictiveInterpolation.DisableSoftSnap When true, predictive interpolation will not use softsnap to correct the replication with when velocity fails. Hardsnap will still eventually kick in if replication can't reach the target. | Physics/NetworkPhysicsSettingsComponent.h |
|
| bOverrideCorrectConnectedBodies | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bOverrideCorrectConnectedBodiesFriction | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bOverrideDisableSoftSnap | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bOverridePosCorrectionTimeBase | uint32 | Override properties. | Physics/NetworkPhysicsSettingsComponent.h |
|
| bOverridePosCorrectionTimeMin | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bOverridePosCorrectionTimeMultiplier | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bOverridePosInterpolationTimeMultiplier | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bOverridePostResimWaitForUpdate | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bOverrideRotCorrectionTimeBase | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bOverrideRotCorrectionTimeMin | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bOverrideRotCorrectionTimeMultiplier | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bOverrideRotInterpolationTimeMultiplier | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bOverrideSkipVelocityRepOnPosEarlyOut | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bOverrideSoftSnapPosStrength | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bOverrideSoftSnapRotStrength | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bOverrideSoftSnapToSource | uint32 | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| bPostResimWaitForUpdate | bool | Overrides CVar: np2.PredictiveInterpolation.PostResimWaitForUpdate After a resimulation, wait for replicated states that correspond to post-resim state before processing replication again. | Physics/NetworkPhysicsSettingsComponent.h |
|
| bSkipVelocityRepOnPosEarlyOut | bool | Overrides CVar: np2.PredictiveInterpolation.SkipVelocityRepOnPosEarlyOut If true, don't run linear velocity replication if position can early out but angular can't early out. | Physics/NetworkPhysicsSettingsComponent.h |
|
| bSoftSnapToSource | bool | Overrides CVar: np2.PredictiveInterpolation.SoftSnapToSource If true, softsnap will be performed towards the source state of the current target instead of the predicted state of the current target. | Physics/NetworkPhysicsSettingsComponent.h |
|
| PosCorrectionTimeBase | float | Overrides CVar: np2.PredictiveInterpolation.PosCorrectionTimeBase Base time to correct positional offset over. RoundTripTime * PosCorrectionTimeMultiplier is added on top of this. | Physics/NetworkPhysicsSettingsComponent.h |
|
| PosCorrectionTimeMin | float | Overrides CVar: np2.PredictiveInterpolation.PosCorrectionTimeMin Min time to correct positional offset over. DeltaSeconds is added on top of this. | Physics/NetworkPhysicsSettingsComponent.h |
|
| PosCorrectionTimeMultiplier | float | Overrides CVar: np2.PredictiveInterpolation.PosCorrectionTimeMultiplier Multiplier to adjust how much of RoundTripTime to add to positional offset correction. | Physics/NetworkPhysicsSettingsComponent.h |
|
| PosInterpolationTimeMultiplier | float | Overrides CVar: np2.PredictiveInterpolation.InterpolationTimeMultiplier Multiplier to adjust the interpolation time which is based on the sendrate of state data from the server. | Physics/NetworkPhysicsSettingsComponent.h |
|
| RotCorrectionTimeBase | float | Overrides CVar: np2.PredictiveInterpolation.RotCorrectionTimeBase Base time to correct rotational offset over. RoundTripTime * RotCorrectionTimeMultiplier is added on top of this. | Physics/NetworkPhysicsSettingsComponent.h |
|
| RotCorrectionTimeMin | float | Overrides CVar: np2.PredictiveInterpolation.RotCorrectionTimeMin Min time to correct rotational offset over. DeltaSeconds is added on top of this. | Physics/NetworkPhysicsSettingsComponent.h |
|
| RotCorrectionTimeMultiplier | float | Overrides CVar: np2.PredictiveInterpolation.RotCorrectionTimeMultiplier Multiplier to adjust how much of RoundTripTime to add to rotational offset correction. | Physics/NetworkPhysicsSettingsComponent.h |
|
| RotInterpolationTimeMultiplier | float | Overrides CVar: np2.PredictiveInterpolation.RotInterpolationTimeMultiplier Multiplier to adjust the rotational interpolation time which is based on the sendrate of state data from the server. | Physics/NetworkPhysicsSettingsComponent.h |
|
| SoftSnapPosStrength | float | Overrides CVar: np2.PredictiveInterpolation.SoftSnapPosStrength Value in percent between 0.0 - 1.0 representing how much to softsnap each tick of the remaining positional distance. | Physics/NetworkPhysicsSettingsComponent.h |
|
| SoftSnapRotStrength | float | Overrides CVar: np2.PredictiveInterpolation.SoftSnapRotStrength Value in percent between 0.0 - 1.0 representing how much to softsnap each tick of the remaining rotational distance. | Physics/NetworkPhysicsSettingsComponent.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetCorrectConnectedBodies() |
Physics/NetworkPhysicsSettingsComponent.h | ||
bool GetCorrectConnectedBodiesFriction() |
Physics/NetworkPhysicsSettingsComponent.h | ||
bool GetDisableSoftSnap() |
Physics/NetworkPhysicsSettingsComponent.h | ||
float GetPosCorrectionTimeBase() |
Physics/NetworkPhysicsSettingsComponent.h | ||
float GetPosCorrectionTimeMin() |
Physics/NetworkPhysicsSettingsComponent.h | ||
float GetPosCorrectionTimeMultiplier() |
Physics/NetworkPhysicsSettingsComponent.h | ||
float GetPosInterpolationTimeMultiplier() |
Physics/NetworkPhysicsSettingsComponent.h | ||
bool GetPostResimWaitForUpdate() |
Physics/NetworkPhysicsSettingsComponent.h | ||
float GetRotCorrectionTimeBase() |
Physics/NetworkPhysicsSettingsComponent.h | ||
float GetRotCorrectionTimeMin() |
Physics/NetworkPhysicsSettingsComponent.h | ||
float GetRotCorrectionTimeMultiplier() |
Physics/NetworkPhysicsSettingsComponent.h | ||
float GetRotInterpolationTimeMultiplier() |
Physics/NetworkPhysicsSettingsComponent.h | ||
bool GetSkipVelocityRepOnPosEarlyOut() |
Physics/NetworkPhysicsSettingsComponent.h | ||
float GetSoftSnapPosStrength() |
Physics/NetworkPhysicsSettingsComponent.h | ||
float GetSoftSnapRotStrength() |
Physics/NetworkPhysicsSettingsComponent.h | ||
bool GetSoftSnapToSource() |
Physics/NetworkPhysicsSettingsComponent.h |