diff --git a/server/core/src/main/java/dev/slimevr/tracking/processor/config/SkeletonConfigToggles.java b/server/core/src/main/java/dev/slimevr/tracking/processor/config/SkeletonConfigToggles.java index f8b991cf9f..d27021c159 100644 --- a/server/core/src/main/java/dev/slimevr/tracking/processor/config/SkeletonConfigToggles.java +++ b/server/core/src/main/java/dev/slimevr/tracking/processor/config/SkeletonConfigToggles.java @@ -16,7 +16,7 @@ public enum SkeletonConfigToggles { TOE_SNAP(8, "Toe Snap", "toeSnap", false), FOOT_PLANT(9, "Foot Plant", "footPlant", true), SELF_LOCALIZATION(10, "Self Localization", "selfLocalization", false), - USE_POSITION(11, "Use Position", "usePosition", false), + USE_POSITION(11, "Use Position", "usePosition", true), ENFORCE_CONSTRAINTS(12, "Enforce Constraints", "enforceConstraints", true), CORRECT_CONSTRAINTS(13, "Correct Constraints", "correctConstraints", true),; diff --git a/server/core/src/main/java/dev/slimevr/tracking/processor/skeleton/IKChain.kt b/server/core/src/main/java/dev/slimevr/tracking/processor/skeleton/IKChain.kt index 3e0d8297eb..bd2c96e9b9 100644 --- a/server/core/src/main/java/dev/slimevr/tracking/processor/skeleton/IKChain.kt +++ b/server/core/src/main/java/dev/slimevr/tracking/processor/skeleton/IKChain.kt @@ -40,7 +40,7 @@ class IKChain( */ private fun prepBones() { for (i in 0.. ANNEALING_MAX)) - val solved = solve(ANNEALING_STEP - ANNEALING_ITERATIONS) - - if (solved) break - } + solve(MAX_ITERATIONS) root.update() }