From 5455f03dcca99478c0704e193e94428e3cd6569a Mon Sep 17 00:00:00 2001 From: NotAKidoS <37721153+NotAKidOnSteam@users.noreply.github.com> Date: Mon, 14 Aug 2023 19:02:21 -0500 Subject: [PATCH] [DesktopVRIK] Temp fix for LookAtIK breaking once exiting emote. --- DesktopVRIK/IK/IKManager.cs | 4 ++++ DesktopVRIK/Properties/AssemblyInfo.cs | 2 +- DesktopVRIK/format.json | 6 +++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/DesktopVRIK/IK/IKManager.cs b/DesktopVRIK/IK/IKManager.cs index 313e35c..e82a0ad 100644 --- a/DesktopVRIK/IK/IKManager.cs +++ b/DesktopVRIK/IK/IKManager.cs @@ -182,6 +182,10 @@ public class IKManager : MonoBehaviour IKCalibrator.SetupHeadIKTarget(_vrik); + // TEMP: Fix for head IK breaking once exiting an emote + if (_vrik.TryGetComponent(out LookAtIK lookAtIk)) + lookAtIk.fixTransforms = false; + InitializeIkGeneral(); _ikHandler.OnInitializeIk(); diff --git a/DesktopVRIK/Properties/AssemblyInfo.cs b/DesktopVRIK/Properties/AssemblyInfo.cs index a11999c..25f5ef4 100644 --- a/DesktopVRIK/Properties/AssemblyInfo.cs +++ b/DesktopVRIK/Properties/AssemblyInfo.cs @@ -28,6 +28,6 @@ using System.Reflection; namespace NAK.DesktopVRIK.Properties; internal static class AssemblyInfoParams { - public const string Version = "4.2.4"; + public const string Version = "4.2.5"; public const string Author = "NotAKidoS"; } \ No newline at end of file diff --git a/DesktopVRIK/format.json b/DesktopVRIK/format.json index 69d7ff4..76efdd2 100644 --- a/DesktopVRIK/format.json +++ b/DesktopVRIK/format.json @@ -1,7 +1,7 @@ { "_id": 117, "name": "DesktopVRIK", - "modversion": "4.2.4", + "modversion": "4.2.5", "gameversion": "2023r171", "loaderversion": "0.6.1", "modtype": "Mod", @@ -17,8 +17,8 @@ "requirements": [ "BTKUILib" ], - "downloadlink": "https://github.com/NotAKidOnSteam/NAK_CVR_Mods/releases/download/r17/DesktopVRIK.dll", + "downloadlink": "https://github.com/NotAKidOnSteam/NAK_CVR_Mods/releases/download/r18/DesktopVRIK.dll", "sourcelink": "https://github.com/NotAKidOnSteam/NAK_CVR_Mods/tree/main/DesktopVRIK/", - "changelog": "- Fixed an issue where tracking status would update a frame late.\n- Fixed an error with getting muscle traits on start (i was lazy).", + "changelog": "- Added a tempfix for LookAtIK causing issues after exiting an emote.", "embedcolor": "#9b59b6" } \ No newline at end of file