From 84975c4e027dd8cfa01e0e9f1939b2c8caf03ba2 Mon Sep 17 00:00:00 2001 From: Erimel Date: Thu, 8 Oct 2026 19:44:16 -0400 Subject: [PATCH] Disable feet constraints for now --- .../slimevr/skeleton/bodypart-constraints.kt | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/server/core/src/main/java/dev/slimevr/skeleton/bodypart-constraints.kt b/server/core/src/main/java/dev/slimevr/skeleton/bodypart-constraints.kt index c3e61b7ef..4bfe2d048 100644 --- a/server/core/src/main/java/dev/slimevr/skeleton/bodypart-constraints.kt +++ b/server/core/src/main/java/dev/slimevr/skeleton/bodypart-constraints.kt @@ -85,11 +85,12 @@ val BODY_PART_CONSTRAINT_MAP: BodyPartMap = BodyPartMap( 180f * FastMath.DEG_TO_RAD, 40f * FastMath.DEG_TO_RAD, ), - BodyPart.LEFT_FOOT to LooseHingeConstraint( - -60f * FastMath.DEG_TO_RAD, - 90f * FastMath.DEG_TO_RAD, - 80f * FastMath.DEG_TO_RAD, - ), + // TODO enforcing constraint looks bad +// BodyPart.LEFT_FOOT to LooseHingeConstraint( +// -60f * FastMath.DEG_TO_RAD, +// 90f * FastMath.DEG_TO_RAD, +// 80f * FastMath.DEG_TO_RAD, +// ), // Right leg BodyPart.RIGHT_UPPER_LEG to TwistSwingConstraint( @@ -101,11 +102,11 @@ val BODY_PART_CONSTRAINT_MAP: BodyPartMap = BodyPartMap( 180f * FastMath.DEG_TO_RAD, 40f * FastMath.DEG_TO_RAD, ), - BodyPart.RIGHT_FOOT to LooseHingeConstraint( - -60f * FastMath.DEG_TO_RAD, - 90f * FastMath.DEG_TO_RAD, - 80f * FastMath.DEG_TO_RAD, - ), +// BodyPart.RIGHT_FOOT to LooseHingeConstraint( +// -60f * FastMath.DEG_TO_RAD, +// 90f * FastMath.DEG_TO_RAD, +// 80f * FastMath.DEG_TO_RAD, +// ), // Left fingers BodyPart.LEFT_THUMB_METACARPAL to DIGIT_CONSTRAINT,