mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
syntax
This commit is contained in:
parent
463fb7a258
commit
808c9988a1
@ -177,7 +177,7 @@ protected virtual void ApplySnapshot(TransformSnapshot interpolated)
|
||||
// scale, then we should not touch scale etc.
|
||||
if (syncPosition) target.localPosition = interpolated.position;
|
||||
if (syncRotation) target.localRotation = interpolated.rotation;
|
||||
if (syncScale) target.localScale = interpolated.scale;
|
||||
if (syncScale) target.localScale = interpolated.scale;
|
||||
}
|
||||
|
||||
// check if position / rotation / scale changed since last _full reliable_ sync.
|
||||
|
Loading…
Reference in New Issue
Block a user