mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 22:39:22 +00:00
i dont rememebr
This commit is contained in:
parent
374ab6c11e
commit
86828a94e2
48 changed files with 1637 additions and 841 deletions
|
@ -16,15 +16,6 @@ internal class IKHandlerDesktop : IKHandler
|
|||
|
||||
public override void OnInitializeIk()
|
||||
{
|
||||
// Default tracking for Desktop
|
||||
DeviceControlManipulator.shouldTrackHead = true;
|
||||
DeviceControlManipulator.shouldTrackLeftArm = false;
|
||||
DeviceControlManipulator.shouldTrackRightArm = false;
|
||||
DeviceControlManipulator.shouldTrackLeftLeg = false;
|
||||
DeviceControlManipulator.shouldTrackRightLeg = false;
|
||||
DeviceControlManipulator.shouldTrackPelvis = false;
|
||||
DeviceControlManipulator.shouldTrackLocomotion = true;
|
||||
|
||||
_vrik.onPreSolverUpdate.AddListener(OnPreSolverUpdateDesktop);
|
||||
}
|
||||
|
||||
|
|
|
@ -16,15 +16,6 @@ internal class IKHandlerHalfBody : IKHandler
|
|||
|
||||
public override void OnInitializeIk()
|
||||
{
|
||||
// Default tracking for HalfBody
|
||||
DeviceControlManipulator.shouldTrackHead = true;
|
||||
DeviceControlManipulator.shouldTrackLeftArm = true;
|
||||
DeviceControlManipulator.shouldTrackRightArm = true;
|
||||
DeviceControlManipulator.shouldTrackLeftLeg = false;
|
||||
DeviceControlManipulator.shouldTrackRightLeg = false;
|
||||
DeviceControlManipulator.shouldTrackPelvis = false;
|
||||
DeviceControlManipulator.shouldTrackLocomotion = true;
|
||||
|
||||
_vrik.onPreSolverUpdate.AddListener(OnPreSolverUpdateHalfBody);
|
||||
}
|
||||
|
||||
|
|
|
@ -16,7 +16,6 @@ public class IKManager : MonoBehaviour
|
|||
#region Variables
|
||||
|
||||
public BodyControl BodyControl = new BodyControl();
|
||||
public WeightManipulatorManager WeightManipulator = new WeightManipulatorManager();
|
||||
|
||||
public static VRIK vrik => _vrik;
|
||||
private static VRIK _vrik;
|
||||
|
@ -86,9 +85,6 @@ public class IKManager : MonoBehaviour
|
|||
_rightHandTarget = _rightController.Find("RightHandTarget");
|
||||
_rightHandRotations = _rightHandTarget.Find("RightHandRotations");
|
||||
|
||||
WeightManipulator.AddOverride(new TrackingControlManipulator());
|
||||
WeightManipulator.AddOverride(new DeviceControlManipulator());
|
||||
|
||||
BodyControl.Start();
|
||||
}
|
||||
|
||||
|
@ -99,9 +95,6 @@ public class IKManager : MonoBehaviour
|
|||
|
||||
BodyControl.Update();
|
||||
|
||||
if (vrik.solver != null)
|
||||
WeightManipulator.UpdateWeights(vrik.solver);
|
||||
|
||||
_ikHandler?.UpdateWeights();
|
||||
}
|
||||
|
||||
|
|
|
@ -20,8 +20,6 @@ public class AlternateIKSystem : MelonMod
|
|||
|
||||
ApplyPatches(typeof(HarmonyPatches.PlayerSetupPatches));
|
||||
ApplyPatches(typeof(HarmonyPatches.IKSystemPatches));
|
||||
|
||||
InitializeIntegration("BTKUILib", Integrations.BTKUIAddon.Initialize);
|
||||
}
|
||||
|
||||
private static void InitializeIntegration(string modName, Action integrationAction)
|
||||
|
|
|
@ -21,7 +21,7 @@ public static class ModSettings
|
|||
"Determines if VRIK uses humanoid toes for IK solving, which can cause feet to idle behind the avatar.");
|
||||
|
||||
public static readonly MelonPreferences_Entry<bool> EntryPlantFeet =
|
||||
Category.CreateEntry("Enforce Plant Feet", true,
|
||||
Category.CreateEntry("Enforce Plant Feet", false ,
|
||||
description: "Forces VRIK Plant Feet enabled to prevent hovering when stopping movement.");
|
||||
|
||||
public static readonly MelonPreferences_Entry<bool> EntryResetFootstepsOnIdle =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue