This commit is contained in:
Sapphire committed 2026-07-06 03:53:43 -05:00
1 parent 4607616270
commit f0667dc74c
2 files changed
+8 -1

No files matched your search

@@ -61,6 +61,7 @@ data class VMCConfig(
)
const val DEFAULT_VRC_OSC_PORT_OUT: Int = 9000
@Serializable
data class VRCOSCConfig(
val enabled: Boolean = false,
@@ -71,10 +71,16 @@ internal fun buildYawAlignMessage(headRotation: Quaternion): OscMessage {
// TODO read from Output Settings
private fun shouldSendTracker(bodyPart: BodyPart, config: VRCOSCConfig): Boolean = when (bodyPart) {
BodyPart.HIP -> true
BodyPart.LEFT_FOOT, BodyPart.RIGHT_FOOT -> true
BodyPart.LEFT_UPPER_LEG, BodyPart.RIGHT_UPPER_LEG -> true
BodyPart.UPPER_CHEST -> true // TODO why UPPER_CHEST instead of CHEST?
// TODO why UPPER_CHEST instead of CHEST?
BodyPart.UPPER_CHEST -> true
BodyPart.LEFT_UPPER_ARM, BodyPart.RIGHT_UPPER_ARM -> false
else -> false
}