diff --git a/server/core/src/main/java/dev/slimevr/skeleton/bodypart-ik-chains.kt b/server/core/src/main/java/dev/slimevr/skeleton/bodypart-ik-chains.kt index d205f0209..252e4ebba 100644 --- a/server/core/src/main/java/dev/slimevr/skeleton/bodypart-ik-chains.kt +++ b/server/core/src/main/java/dev/slimevr/skeleton/bodypart-ik-chains.kt @@ -27,6 +27,14 @@ val BODY_PART_IK_CHAIN_MAP: BodyPartMap = BodyPartMap( BodyPart.WAIST, BodyPart.HIP, ), + BodyPart.LEFT_LOWER_LEG to listOf( + BodyPart.LEFT_UPPER_LEG, + BodyPart.LEFT_LOWER_LEG, + ), + BodyPart.RIGHT_LOWER_LEG to listOf( + BodyPart.RIGHT_UPPER_LEG, + BodyPart.RIGHT_LOWER_LEG, + ), BodyPart.LEFT_FOOT to listOf( BodyPart.LEFT_UPPER_LEG, BodyPart.LEFT_LOWER_LEG, diff --git a/server/core/src/main/java/dev/slimevr/skeleton/fkprocessors/foot-plant.kt b/server/core/src/main/java/dev/slimevr/skeleton/fkprocessors/foot-plant.kt index 511189eec..6891c0bda 100644 --- a/server/core/src/main/java/dev/slimevr/skeleton/fkprocessors/foot-plant.kt +++ b/server/core/src/main/java/dev/slimevr/skeleton/fkprocessors/foot-plant.kt @@ -10,7 +10,7 @@ import io.github.axisangles.ktmath.Quaternion import solarxr_protocol.datatypes.BodyPart // The max height to plant feet by -val ROTATION_CORRECTION_VERTICAL = 0.1f +const val ROTATION_CORRECTION_VERTICAL = 0.1f fun computeFootPlantRatio( ankleHeight: Float,