This commit is contained in:
miwarnec 2024-11-05 11:55:09 +01:00
parent 4eb1a62f18
commit 51947ba9b5

View File

@ -54,8 +54,8 @@ public class NetworkTransformHybrid2022 : NetworkBehaviour
// save last deserialized baseline to delta decompress against
byte lastDeserializedBaselineTick = 0;
Vector3 lastDeserializedBaselinePosition = Vector3.zero;
Quaternion lastDeserializedBaselineRotation = Quaternion.identity;
Vector3 lastDeserializedBaselinePosition = Vector3.zero; // unused, but keep for delta
Quaternion lastDeserializedBaselineRotation = Quaternion.identity; // unused, but keep for delta
// only sync when changed hack /////////////////////////////////////////
[Header("Sync Only If Changed")]