Skip to content

Commit

Permalink
Update Main.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SDraw authored Dec 31, 2022
1 parent b6bf52b commit 192005a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ml_amt/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ Vector3 ____colliderCenter
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)))
Expand Down

0 comments on commit 192005a

Please sign in to comment.