mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 14:29:25 +00:00
[AlternateIKSystem] Fix offset issues
This commit is contained in:
parent
9847827813
commit
99c0256ed3
4 changed files with 20 additions and 26 deletions
|
@ -1,6 +1,5 @@
|
|||
using RootMotion.FinalIK;
|
||||
using UnityEngine;
|
||||
using Valve.VR;
|
||||
using Object = UnityEngine.Object;
|
||||
|
||||
namespace NAK.AlternateIKSystem.IK;
|
||||
|
@ -199,7 +198,7 @@ internal static class IKCalibrator
|
|||
vrik.solver.spine.headTarget.localPosition = Vector3.zero;
|
||||
vrik.solver.spine.headTarget.localRotation = CalculateLocalRotation(vrik.references.root, vrik.references.head);
|
||||
}
|
||||
|
||||
|
||||
public static void SetupHandIKTarget(VRIK vrik, Transform handAnchor, bool isLeft)
|
||||
{
|
||||
Transform parent = handAnchor.parent;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue