From 8ddea9119493e8b96730920572966b4deee1345f Mon Sep 17 00:00:00 2001 From: NotAKidoS <37721153+NotAKidOnSteam@users.noreply.github.com> Date: Sun, 9 Apr 2023 15:15:35 -0500 Subject: [PATCH] add note for future --- IKFixes/HarmonyPatches.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/IKFixes/HarmonyPatches.cs b/IKFixes/HarmonyPatches.cs index b5d04f1..115be5d 100644 --- a/IKFixes/HarmonyPatches.cs +++ b/IKFixes/HarmonyPatches.cs @@ -35,6 +35,8 @@ internal static class BodySystemPatches trackingPoint.offsetTransform.localRotation = Quaternion.identity; trackingPoint.offsetTransform.parent = trackingPoint.referenceTransform; + // small amount forward, as pivot is different for users who place + // tracker on upper/lower leg. 0.5f was too much for users using upper leg. Vector3 b = IKSystem.vrik.references.root.forward * 0.1f; trackingPoint.offsetTransform.position += b; }