From 192005a35f982d84daefb179fa382ff0edf444f5 Mon Sep 17 00:00:00 2001 From: SDraw Date: Sat, 31 Dec 2022 12:03:52 +0000 Subject: [PATCH] Update Main.cs --- ml_amt/Main.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ml_amt/Main.cs b/ml_amt/Main.cs index 224b775..d14c84b 100644 --- a/ml_amt/Main.cs +++ b/ml_amt/Main.cs @@ -184,7 +184,7 @@ namespace ml_amt float l_currentHeight = ___controller.height; Vector3 l_newCenter = ____colliderCenter; - l_newCenter.y = (l_newHeight + 0.075f * ____avatarHeightFactor) * 0.5f; + l_newCenter.y = (l_newHeight + 0.075f) * 0.5f; Vector3 l_currentCenter = ___controller.center; if(__0 || (Mathf.Abs(l_currentHeight - l_newHeight) > (l_currentHeight * 0.05f)) || (Vector3.Distance(l_currentCenter, l_newCenter) > (l_currentHeight * 0.05f)))