From 707278dab25d06f82400f08dae020afdea233e5f Mon Sep 17 00:00:00 2001 From: memelotsqui Date: Tue, 12 Mar 2024 17:54:53 -0600 Subject: [PATCH] fix different root names --- src/library/utils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/library/utils.js b/src/library/utils.js index 41898242..a2618191 100644 --- a/src/library/utils.js +++ b/src/library/utils.js @@ -626,6 +626,7 @@ export const createBoneDirection = (skinMesh) => { export const renameVRMBones = (vrm) => { const bones = vrm.humanoid.humanBones; + bones['hips'].node.parent.name = "root"; // // if user didnt define upprChest bone just make sure its not included if (bones['upperChest'] == null){ // just check if the parent bone of 'neck' is 'chest', this would mean upperChest doesnt exist,