mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-12-03 15:22:29 -08:00
Disable feet constraints for now
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user