mirror of
https://github.com/hanetzer/sdraw_mods_cvr.git
synced 2025-09-03 18:39:23 +00:00
Update Main.cs
This commit is contained in:
parent
b6bf52b8a1
commit
192005a35f
1 changed files with 1 additions and 1 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue