add note for future

This commit is contained in:
NotAKidoS 2023-04-09 15:15:35 -05:00
parent 62d118ce46
commit 8ddea91194

View file

@ -35,6 +35,8 @@ internal static class BodySystemPatches
trackingPoint.offsetTransform.localRotation = Quaternion.identity; trackingPoint.offsetTransform.localRotation = Quaternion.identity;
trackingPoint.offsetTransform.parent = trackingPoint.referenceTransform; 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; Vector3 b = IKSystem.vrik.references.root.forward * 0.1f;
trackingPoint.offsetTransform.position += b; trackingPoint.offsetTransform.position += b;
} }