fix player scaling

This commit is contained in:
Mister_Nebula 2021-07-07 19:47:31 +01:00
parent 721b4fa946
commit 0457ba8b03

View File

@ -306,9 +306,7 @@ namespace QSB.Syncs.TransformSync
} }
AttachedObject.transform.SetParent(newParent, true); AttachedObject.transform.SetParent(newParent, true);
AttachedObject.transform.localScale = GetType() == typeof(PlayerTransformSync) AttachedObject.transform.localScale = Vector3.one;
? Vector3.one / 10
: Vector3.one;
} }
private Vector3 SmartSmoothDamp(Vector3 currentPosition, Vector3 targetPosition) private Vector3 SmartSmoothDamp(Vector3 currentPosition, Vector3 targetPosition)