Disable feet constraints for now

This commit is contained in:
Erimel committed 2026-10-08 19:44:16 -04:00
1 parent 10de6776c3
commit 84975c4e02
1 file changed
+11 -10
@@ -85,11 +85,12 @@ val BODY_PART_CONSTRAINT_MAP: BodyPartMap<Constraint> = 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<Constraint> = 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,