mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 22:39:22 +00:00
its working (FUCK)
This commit is contained in:
parent
8f4d146ba0
commit
0f485ccaa3
6 changed files with 221 additions and 11 deletions
|
@ -105,8 +105,6 @@ class IKSystemPatches
|
|||
{
|
||||
if (IKSystem.Instance.animator != null && IKSystem.Instance.animator.avatar != null && IKSystem.Instance.animator.avatar.isHuman)
|
||||
{
|
||||
IKSystem.Instance.animator.enabled = false;
|
||||
|
||||
//why the fuck does this fix bad armatures and heels in ground ??? (this one is suprisingly not because of Default Robot Kyle) ... (Fuck you Default Robot Kyle)
|
||||
if (____poseHandler == null)
|
||||
{
|
||||
|
@ -120,14 +118,8 @@ class IKSystemPatches
|
|||
}
|
||||
____poseHandler.SetHumanPose(ref ___humanPose);
|
||||
|
||||
//need IKSystem to see VRIK component for setup
|
||||
if (____vrik == null)
|
||||
{
|
||||
____vrik = avatar.gameObject.AddComponent<VRIK>();
|
||||
}
|
||||
|
||||
//now I calibrate DesktopVRIK
|
||||
DesktopVRIK.Instance.CalibrateDesktopVRIK(avatar);
|
||||
____vrik = DesktopVRIK.Instance.AlternativeCalibration(avatar);
|
||||
IKSystem.Instance.ApplyAvatarScaleToIk(avatar.viewPosition.y);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue