Skip to content

Commit

Permalink
Fix vmc head shift for lock head (#1208)
Browse files Browse the repository at this point in the history
  • Loading branch information
Erimelowo authored Oct 25, 2024
1 parent e058c69 commit 1677936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/core/src/main/java/dev/slimevr/osc/VMCHandler.kt
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ class VMCHandler(
// Anchor from head
outputUnityArmature?.let { unityArmature ->
// Scale the SlimeVR head position with the VRM model
val slimevrScaledHeadPos = humanPoseManager.getBone(BoneType.HEAD).getPosition() *
val slimevrScaledHeadPos = humanPoseManager.getBone(BoneType.HEAD).getTailPosition() *
(vrmHeight / humanPoseManager.userHeightFromConfig)

// Get the VRM head and hip positions
Expand Down

0 comments on commit 1677936

Please sign in to comment.