mirror of
https://github.com/hanetzer/sdraw_mods_cvr.git
synced 2025-09-03 10:29:22 +00:00
Oh no
This commit is contained in:
parent
31782d2ed6
commit
73e0cd6077
2 changed files with 4 additions and 3 deletions
|
@ -237,14 +237,15 @@ namespace ml_amt
|
|||
if(!m_detectPose && m_avatarReady && !m_compatibleAvatar && PlayerSetup.Instance._inVr)
|
||||
{
|
||||
PlayerSetup.Instance._movementSystem.ChangeCrouch(false);
|
||||
PlayerSetup.Instance.animatorManager.SetAnimatorParameterBool("Crouching", false);
|
||||
PlayerSetup.Instance._movementSystem.ChangeProne(false);
|
||||
PlayerSetup.Instance.animatorManager.SetAnimatorParameterBool("Crouching", false);
|
||||
PlayerSetup.Instance.animatorManager.SetAnimatorParameterBool("Prone", false);
|
||||
}
|
||||
}
|
||||
public void SetProneLimit(float p_value)
|
||||
{
|
||||
m_proneLimit = Mathf.Clamp(p_value, 0f, 1f);
|
||||
if(!m_customProneLimit)
|
||||
m_proneLimit = Mathf.Clamp(p_value, 0f, 1f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue