-
-
Notifications
You must be signed in to change notification settings - Fork 826
Closed
Description
When I try to use NetworkTransformReliable sync game object's scale, it doesn't work and I found some problem in the code.
You used snapshot.position where you sync scale.
Here is your code
https://github.com/MirrorNetworking/Mirror/blob/master/Assets/Mirror/Components/NetworkTransformReliable/NetworkTransformReliable.cs
line 238
236 // save serialized as 'last' for next delta compression
237 if (syncPosition) Compression.ScaleToLong(snapshot.position, positionPrecision, out lastSerializedPosition);
238 if (syncScale) Compression.ScaleToLong(snapshot.position, scalePrecision, out lastSerializedScale);
Ergos1
Metadata
Metadata
Assignees
Labels
No labels