From 6e71c5e9187eaa2990031119479caffbfd822763 Mon Sep 17 00:00:00 2001 From: miwarnec Date: Tue, 5 Nov 2024 12:03:33 +0100 Subject: [PATCH] cleanup --- .../Components/NetworkTransform/NetworkTransformHybrid2022.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs b/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs index 80b68e8ae..1691a641e 100644 --- a/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs +++ b/Assets/Mirror/Components/NetworkTransform/NetworkTransformHybrid2022.cs @@ -175,8 +175,6 @@ bool Changed(Vector3 currentPosition, Quaternion currentRotation)//, Vector3 cur { float positionDelta = Vector3.Distance(currentPosition, lastSerializedBaselinePosition); if (positionDelta >= positionSensitivity) - // float positionChange = (currentPosition - lastPosition).sqrMagnitude; - // if (positionChange >= positionPrecisionSqr) { return true; }