diff --git a/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs b/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs index 5fce61240..8bbc2cc9d 100644 --- a/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs +++ b/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs @@ -511,14 +511,17 @@ void UpdateServerBaseline(double localTime) byte frameCount = (byte)Time.frameCount; // perf: only access Time.frameCount once! if (syncPosition && syncRotation) { + // no unreliable redundancy: baseline is reliable RpcServerToClientBaseline_PositionRotation(frameCount, position, rotation); } else if (syncPosition) { + // no unreliable redundancy: baseline is reliable RpcServerToClientBaseline_Position(frameCount, position); } else if (syncRotation) { + // no unreliable redundancy: baseline is reliable RpcServerToClientBaseline_Rotation(frameCount, rotation); } @@ -700,14 +703,17 @@ void UpdateClientBaseline(double localTime) byte frameCount = (byte)Time.frameCount; // perf: only access Time.frameCount once! if (syncPosition && syncRotation) { + // no unreliable redundancy: baseline is reliable CmdClientToServerBaseline_PositionRotation(frameCount, position, rotation); } else if (syncPosition) { + // no unreliable redundancy: baseline is reliable CmdClientToServerBaseline_Position(frameCount, position); } else if (syncRotation) { + // no unreliable redundancy: baseline is reliable CmdClientToServerBaseline_Rotation(frameCount, rotation); }