mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-26 09:35:26 +00:00
fix player scaling
This commit is contained in:
parent
721b4fa946
commit
0457ba8b03
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user