diff --git a/.claude/skills/character-pipeline/references/failure-modes.md b/.claude/skills/character-pipeline/references/failure-modes.md index ff0b428..b1a9323 100644 --- a/.claude/skills/character-pipeline/references/failure-modes.md +++ b/.claude/skills/character-pipeline/references/failure-modes.md @@ -52,8 +52,16 @@ That is exactly what makes the bug invisible: **the number you normalised always comes out right, whether or not it was the right number.** A check on "is the height 1.75" passes on all seven of these. -**Rule:** derive the up axis from the SKELETON (hips → head), not from a -convention, and rotate the model upright before scaling anything. +**Rule:** derive the up axis from the SKELETON, and rotate the model upright +before scaling anything. `flatten_and_scale()` now does this. + +**Measure it from the FEET to the HIPS, not from the hips to the head.** The head +is not a reliable landmark: the spine walk ends on whatever the last non-cosmetic +bone in the chain is, and on a rig with a facial skeleton that can be a bone +sitting BELOW the hips. Momo's did, so the first version of this fix stood her +neatly on her head — correct size, correct proportions, upside down. Feet cannot +be mistaken; they are the bottom of a standing character on every rig, and +`foot.L/R` have resolved on every source met so far. **And compare it to WORLD up, not to the model's own proportions.** The obvious test — "is the spine the longest axis of the bounding box?" — catches nothing @@ -172,7 +180,25 @@ than judging by eye. --- -## 6. Known-unsolved, and honestly so +## 6. Some sources are not salvageable, and the gate should say so + +**Hit:** hikari. She failed every way at once — stretched and warped, tiny, far +away, gun backwards. Her rig has been through at least two toolchains: her +cosmetic bones are zero-length terminators, she carried a second armature with +its own clips, and her feet and her spine disagree about which way is up, so the +stand-up correction cannot resolve her either. She is now REJECTED by the gate +and removed from the roster rather than shipped broken. + +**Rule:** a source that fails several unrelated checks is not a tuning problem, +it is a bad file. Spend the effort on finding a cleaner source, not on repairing +this one — and make sure the gate blocks it, because the failure mode before this +work was that everything passed and the breakage was only visible in game. + +The vetting snippet in `separation.md` catches most of these before download: +several meshes, 50+ joints, cosmetic bones present. Add a look for duplicate +armatures and for bone chains whose bones are all at the same position. + +## 7. Known-unsolved, and honestly so Taila's legs still clip through the front of her skirt in a run, slide and dash (~95 mm). See `cloth-and-hair.md`. The solver sees the contact and pushes on it diff --git a/assets/characters/skins/aria.glb b/assets/characters/skins/aria.glb index 7cb55bb..f581dc3 100644 Binary files a/assets/characters/skins/aria.glb and b/assets/characters/skins/aria.glb differ diff --git a/assets/characters/skins/aria.rig.json b/assets/characters/skins/aria.rig.json index 94eafb9..c5a3300 100644 --- a/assets/characters/skins/aria.rig.json +++ b/assets/characters/skins/aria.rig.json @@ -13,8 +13,8 @@ "shoulder.R": "Right shoulder", "foot.R": "Right ankle", "foot.L": "Left ankle", - "hand.R": "Right wrist", "hand.L": "Left wrist", + "hand.R": "Right wrist", "forearm.L": "Left elbow", "forearm.R": "Right elbow", "shin.R": "Right knee", @@ -37,66 +37,66 @@ "tips": [ [ 0.0, - 0.38874, + 0.09099, -0.0 ], [ 0.0, - 0.38874, + 0.09099, -0.0 ] ], "hulls": [ [ [ - 0.03918, - 0.3986, - -0.03177 + 0.00917, + 0.0933, + -0.00744 ], [ - -0.31692, - 0.12871, - 0.0247 + -0.07418, + 0.03013, + 0.00578 ], [ - 0.00567, - 0.14769, - 0.24402 + 0.00133, + 0.03457, + 0.05712 ], [ - -0.06314, - 0.16842, - -0.25954 + -0.01478, + 0.03942, + -0.06075 ], [ - 0.20424, - 0.29346, - 0.14434 + 0.04781, + 0.06869, + 0.03379 ], [ - 0.19068, - 0.22473, - -0.1262 + 0.04463, + 0.0526, + -0.02954 ], [ - -0.15582, - 0.2848, - 0.07169 + -0.03647, + 0.06666, + 0.01678 ], [ - -0.20464, - 0.16064, - 0.22922 + -0.0479, + 0.0376, + 0.05365 ], [ - -0.19735, - 0.26033, - -0.1455 + -0.04619, + 0.06094, + -0.03406 ], [ - 0.01152, - 0.31875, - 0.12467 + 0.0027, + 0.07461, + 0.02918 ] ], [] @@ -123,66 +123,66 @@ "tips": [ [ 0.0, - 0.38874, + 0.09099, 0.0 ], [ 0.0, - 0.38874, + 0.09099, 0.0 ] ], "hulls": [ [ [ - -0.03918, - 0.3986, - -0.03177 + -0.00917, + 0.0933, + -0.00744 ], [ - 0.31692, - 0.12871, - 0.0247 + 0.07418, + 0.03013, + 0.00578 ], [ - -0.00567, - 0.14769, - 0.24402 + -0.00133, + 0.03457, + 0.05712 ], [ - 0.06314, - 0.16842, - -0.25954 + 0.01478, + 0.03942, + -0.06075 ], [ - -0.20424, - 0.29346, - 0.14434 + -0.04781, + 0.06869, + 0.03379 ], [ - -0.19068, - 0.22473, - -0.1262 + -0.04463, + 0.0526, + -0.02954 ], [ - 0.15582, - 0.2848, - 0.07169 + 0.03647, + 0.06666, + 0.01678 ], [ - 0.20464, - 0.16064, - 0.22922 + 0.0479, + 0.0376, + 0.05365 ], [ - 0.19735, - 0.26033, - -0.1455 + 0.04619, + 0.06094, + -0.03406 ], [ - -0.01151, - 0.31875, - 0.12467 + -0.0027, + 0.07461, + 0.02918 ] ], [] @@ -209,118 +209,118 @@ "tips": [ [ 0.0, - 0.225, - 0.0 + 0.05267, + -0.0 ], [ - -0.05022, - 0.2025, - 0.01923 + -0.01175, + 0.0474, + 0.0045 ] ], "hulls": [ [ [ - 0.09447, - 0.24155, - -0.0315 + 0.02211, + 0.05654, + -0.00737 ], [ - -0.04828, - 0.01976, - 0.03783 + -0.0113, + 0.00462, + 0.00886 ], [ - 0.11382, - 0.04851, - -0.03257 + 0.02664, + 0.01135, + -0.00762 ], [ - -0.04325, - 0.18876, - 0.03505 + -0.01012, + 0.04418, + 0.0082 ], [ - 0.01782, - 0.12533, - -0.07161 + 0.00417, + 0.02934, + -0.01676 ], [ - 0.02162, - 0.00293, - -0.05244 + 0.00506, + 0.00069, + -0.01228 ], [ - 0.10203, - 0.14431, - -0.0093 + 0.02388, + 0.03378, + -0.00218 ], [ - 0.03209, - 0.07408, - 0.00945 + 0.00751, + 0.01734, + 0.00221 ], [ - 0.00666, - 0.21828, - -0.04928 + 0.00156, + 0.05109, + -0.01154 ], [ - -0.07027, - 0.10508, - 0.01321 + -0.01645, + 0.0246, + 0.00309 ] ], [ [ - -0.05881, - 0.19647, - 0.09871 + -0.01377, + 0.04599, + 0.02311 ], [ - 0.0648, - 0.00303, - -0.0669 + 0.01517, + 0.00071, + -0.01566 ], [ - -0.06062, - 0.06902, - -0.00249 + -0.01419, + 0.01615, + -0.00058 ], [ - -0.00078, - 0.21342, - -0.00069 + -0.00018, + 0.04996, + -0.00016 ], [ - 0.02329, - 0.08044, - -0.04655 + 0.00545, + 0.01883, + -0.0109 ], [ - -0.01217, - 0.13015, - 0.04149 + -0.00285, + 0.03046, + 0.00971 ], [ - -0.0225, - -0.00212, - -0.0364 + -0.00527, + -0.0005, + -0.00852 ], [ - -0.00399, - 0.02675, - 0.04507 + -0.00093, + 0.00626, + 0.01055 ], [ - -0.10051, - 0.11036, - 0.05383 + -0.02353, + 0.02583, + 0.0126 ], [ - -0.03352, - 0.12178, - -0.02194 + -0.00785, + 0.02851, + -0.00514 ] ] ], @@ -342,119 +342,119 @@ ], "tips": [ [ - -0.0, - 0.19616, + 0.0, + 0.04592, -0.0 ], [ - -0.0818, - 0.15667, - -0.10643 + -0.01915, + 0.03667, + -0.02491 ] ], "hulls": [ [ [ - 0.04578, - 0.19034, - -0.0406 + 0.01072, + 0.04455, + -0.0095 ], [ - -0.02239, - 0.01462, - 0.03917 + -0.00524, + 0.00342, + 0.00917 ], [ - -0.0415, - 0.07489, - -0.07313 + -0.00971, + 0.01753, + -0.01712 ], [ - 0.00598, - 0.11389, - 0.04116 + 0.0014, + 0.02666, + 0.00964 ], [ - 0.0487, - 0.04889, - -0.03139 + 0.0114, + 0.01144, + -0.00735 ], [ - -0.03562, - 0.16283, - -0.06103 + -0.00834, + 0.03811, + -0.01428 ], [ - -0.01481, - 0.01888, - -0.03196 + -0.00347, + 0.00442, + -0.00748 ], [ - -0.0045, - 0.17787, - 0.02396 + -0.00105, + 0.04163, + 0.00561 ], [ - -0.00456, - 0.10669, - -0.01995 + -0.00107, + 0.02497, + -0.00467 ], [ - 0.01334, - 0.05192, - 0.05689 + 0.00312, + 0.01215, + 0.01332 ] ], [ [ - -0.12149, - 0.09743, - -0.10074 + -0.02844, + 0.02281, + -0.02358 ], [ - 0.01373, - 0.0092, - 0.01315 + 0.00321, + 0.00215, + 0.00308 ], [ - -0.00018, - 0.18129, - -0.0002 + -4e-05, + 0.04244, + -5e-05 ], [ - -0.01681, - 0.10314, - -0.0822 + -0.00393, + 0.02414, + -0.01924 ], [ - -0.06942, - 0.01192, - -0.07566 + -0.01625, + 0.00279, + -0.01771 ], [ - 0.02318, - 0.02473, - -0.06344 + 0.00542, + 0.00579, + -0.01485 ], [ - -0.01445, - 0.06765, - -0.01295 + -0.00338, + 0.01583, + -0.00303 ], [ - -0.12514, - 0.04077, - -0.12366 + -0.02929, + 0.00954, + -0.02894 ], [ - -0.0731, - 0.11297, - -0.06305 + -0.01711, + 0.02644, + -0.01476 ], [ - -0.01056, - 0.1322, - -0.03103 + -0.00247, + 0.03094, + -0.00726 ] ] ], @@ -476,119 +476,119 @@ ], "tips": [ [ - 0.0, - 0.17641, + -0.0, + 0.04129, -0.0 ], [ - -0.06885, - 0.17137, - -0.00646 + -0.01612, + 0.04011, + -0.00151 ] ], "hulls": [ [ [ - -0.0722, - 0.18633, - -0.02627 + -0.0169, + 0.04361, + -0.00615 ], [ - 0.0305, - -0.00025, - -0.15613 + 0.00714, + -6e-05, + -0.03654 ], [ - -0.00862, - 0.0065, - 0.04037 + -0.00202, + 0.00152, + 0.00945 ], [ - 0.02177, - 0.08482, - -0.06373 + 0.0051, + 0.01985, + -0.01492 ], [ - -0.0081, - 0.13123, - 0.03299 + -0.0019, + 0.03072, + 0.00772 ], [ - 0.03457, - 0.00841, - -0.02626 + 0.00809, + 0.00197, + -0.00615 ], [ - 0.00855, - 0.1604, - -0.03854 + 0.002, + 0.03754, + -0.00902 ], [ - -0.04051, - 0.12641, - -0.08651 + -0.00948, + 0.02959, + -0.02025 ], [ - -0.04802, - 0.06966, - 0.04389 + -0.01124, + 0.01631, + 0.01027 ], [ - -0.0098, - 0.03532, - -0.10934 + -0.00229, + 0.00827, + -0.02559 ] ], [ [ - -0.03027, - 0.18398, - 0.01981 + -0.00709, + 0.04307, + 0.00464 ], [ - -0.06784, - -0.00444, - -0.02996 + -0.01588, + -0.00104, + -0.00701 ], [ - 0.03378, - 0.07296, - -0.03493 + 0.00791, + 0.01708, + -0.00818 ], [ - -0.07286, - 0.09234, - -0.02167 + -0.01705, + 0.02161, + -0.00507 ], [ - 0.00208, - 0.0159, - 0.00818 + 0.00049, + 0.00372, + 0.00191 ], [ - -0.01071, - 0.10779, - 0.00869 + -0.00251, + 0.02523, + 0.00203 ], [ - -0.10109, - 0.04475, - -0.00482 + -0.02366, + 0.01048, + -0.00113 ], [ - -0.04154, - 0.06436, - 0.02452 + -0.00972, + 0.01506, + 0.00574 ], [ - -0.06085, - 0.12777, - 0.01832 + -0.01424, + 0.02991, + 0.00429 ], [ - -0.05117, - -0.00521, - 0.01114 + -0.01198, + -0.00122, + 0.00261 ] ] ], @@ -611,118 +611,118 @@ "tips": [ [ 0.0, - 0.20068, + 0.04697, 0.0 ], [ - -0.00263, - 0.23103, - -0.01728 + -0.00062, + 0.05408, + -0.00405 ] ], "hulls": [ [ [ - -0.04816, - 0.14955, - -0.10966 + -0.01127, + 0.03501, + -0.02567 ], [ - 0.01934, - 0.0272, - 0.04578 + 0.00453, + 0.00637, + 0.01072 ], [ - 0.00018, - 0.00673, - -0.10378 + 4e-05, + 0.00157, + -0.02429 ], [ - 0.01426, - 0.17341, - 0.03604 + 0.00334, + 0.04059, + 0.00844 ], [ - 0.00837, - 0.09686, - -0.03421 + 0.00196, + 0.02267, + -0.00801 ], [ - -0.05654, - 0.06018, - -0.12187 + -0.01323, + 0.01409, + -0.02853 ], [ - -0.01455, - 0.17106, - -0.03337 + -0.00341, + 0.04004, + -0.00781 ], [ - -0.02035, - 0.03107, - -0.04335 + -0.00476, + 0.00727, + -0.01015 ], [ - -0.02237, - 0.12539, - 0.01139 + -0.00524, + 0.02935, + 0.00267 ], [ - 0.00261, - 0.10186, - -0.09323 + 0.00061, + 0.02384, + -0.02182 ] ], [ [ - -0.00314, - 0.18775, - 0.00957 + -0.00073, + 0.04395, + 0.00224 ], [ - 0.03646, - 0.00182, - 0.01057 + 0.00853, + 0.00043, + 0.00247 ], [ - -0.08872, - 0.05488, - -0.04327 + -0.02077, + 0.01285, + -0.01013 ], [ - 0.05309, - 0.10312, - 0.01737 + 0.01243, + 0.02414, + 0.00407 ], [ - -0.01518, - 0.11791, - -0.04718 + -0.00355, + 0.0276, + -0.01104 ], [ - -0.02454, - 0.01266, - -0.02389 + -0.00574, + 0.00296, + -0.00559 ], [ - 0.01004, - 0.06561, - -0.01171 + 0.00235, + 0.01536, + -0.00274 ], [ - 0.02047, - 0.14042, - 0.00517 + 0.00479, + 0.03287, + 0.00121 ], [ - 0.05235, - 0.04912, - 0.01049 + 0.01225, + 0.0115, + 0.00246 ], [ - -0.03767, - 0.07462, - -0.01785 + -0.00882, + 0.01747, + -0.00418 ] ] ], @@ -745,118 +745,118 @@ "tips": [ [ 0.0, - 0.19576, + 0.04582, 0.0 ], [ - 0.01309, - 0.22907, - -0.0144 + 0.00306, + 0.05362, + -0.00337 ] ], "hulls": [ [ [ - 0.00443, - 0.17584, - -0.03919 + 0.00104, + 0.04116, + -0.00917 ], [ - -0.0172, - 0.01835, - 0.0459 + -0.00403, + 0.0043, + 0.01074 ], [ - 0.05477, - 0.04038, - -0.12436 + 0.01282, + 0.00945, + -0.02911 ], [ - -0.00758, - 0.07903, - -0.03555 + -0.00177, + 0.0185, + -0.00832 ], [ - 0.04833, - 0.13054, - -0.11277 + 0.01131, + 0.03056, + -0.0264 ], [ - -0.01122, - 0.11371, - 0.04112 + -0.00263, + 0.02662, + 0.00963 ], [ - 0.01924, - 0.02001, - -0.04468 + 0.0045, + 0.00468, + -0.01046 ], [ - -0.00384, - 0.03622, - -0.09958 + -0.0009, + 0.00848, + -0.02331 ], [ - 0.04695, - 0.08026, - -0.05923 + 0.01099, + 0.01879, + -0.01386 ], [ - 0.02585, - 0.06533, - 0.01037 + 0.00605, + 0.01529, + 0.00243 ] ], [ [ - 0.00791, - 0.1868, - 0.00713 + 0.00185, + 0.04373, + 0.00167 ], [ - -0.03408, - -0.00144, - 0.01013 + -0.00798, + -0.00034, + 0.00237 ], [ - 0.0996, - 0.05093, - -0.03772 + 0.02331, + 0.01192, + -0.00883 ], [ - -0.04711, - 0.09809, - 0.01015 + -0.01103, + 0.02296, + 0.00238 ], [ - 0.02597, - 0.10979, - -0.03871 + 0.00608, + 0.0257, + -0.00906 ], [ - 0.01829, - 0.02464, - -0.01585 + 0.00428, + 0.00577, + -0.00371 ], [ - -0.03193, - 0.05505, - -0.01639 + -0.00747, + 0.01288, + -0.00384 ], [ - 0.04899, - 0.06648, - -0.01357 + 0.01147, + 0.01556, + -0.00318 ], [ - -0.01853, - 0.13994, - 0.0044 + -0.00434, + 0.03276, + 0.00103 ], [ - 0.02922, - 0.15396, - -0.01835 + 0.00684, + 0.03604, + -0.00429 ] ] ], @@ -879,118 +879,118 @@ "tips": [ [ 0.0, - 0.20028, - 0.0 + 0.04688, + -0.0 ], [ - 0.01026, - 0.25529, - 0.04098 + 0.0024, + 0.05976, + 0.00959 ] ], "hulls": [ [ [ - -0.02234, - 0.19959, - 0.09585 + -0.00523, + 0.04672, + 0.02244 ], [ - 0.06909, - 0.03811, - -0.05283 + 0.01617, + 0.00892, + -0.01237 ], [ - -0.02148, - 0.00066, - 0.09551 + -0.00503, + 0.00015, + 0.02236 ], [ - 0.06279, - 0.17879, - -0.04568 + 0.0147, + 0.04185, + -0.01069 ], [ - -0.02572, - 0.07633, - -0.01073 + -0.00602, + 0.01787, + -0.00251 ], [ - -0.03163, - 0.09938, - 0.09986 + -0.0074, + 0.02326, + 0.02337 ], [ - -0.02083, - 0.17275, - -0.00907 + -0.00488, + 0.04044, + -0.00212 ], [ - 0.01477, - 0.06039, - 0.05939 + 0.00346, + 0.01414, + 0.0139 ], [ - 0.02229, - 0.12162, - -0.04746 + 0.00522, + 0.02847, + -0.01111 ], [ - 0.02251, - 0.0243, - -0.00734 + 0.00527, + 0.00569, + -0.00172 ] ], [ [ - 0.06015, - 0.22911, - -0.0011 + 0.01408, + 0.05363, + -0.00026 ], [ - -0.05265, - 0.03143, - 0.08272 + -0.01232, + 0.00736, + 0.01936 ], [ - 0.06391, - 0.04875, - -0.01979 + 0.01496, + 0.01141, + -0.00463 ], [ - -0.02374, - 0.16827, - 0.07916 + -0.00556, + 0.03939, + 0.01853 ], [ - -0.02059, - 0.1094, - -0.00368 + -0.00482, + 0.02561, + -0.00086 ], [ - -0.0153, - 0.01564, - -0.01213 + -0.00358, + 0.00366, + -0.00284 ], [ - 0.05065, - 0.13682, - -0.01444 + 0.01186, + 0.03202, + -0.00338 ], [ - -0.00086, - 0.19862, - 0.00076 + -0.0002, + 0.04649, + 0.00018 ], [ - -0.03562, - 0.05999, - 0.02753 + -0.00834, + 0.01404, + 0.00644 ], [ - 0.02369, - 0.04294, - 0.01742 + 0.00555, + 0.01005, + 0.00408 ] ] ], @@ -1013,118 +1013,118 @@ "tips": [ [ -0.0, - 0.19916, - 0.0 + 0.04662, + -0.0 ], [ - -0.01456, - 0.25235, - 0.04074 + -0.00341, + 0.05907, + 0.00954 ] ], "hulls": [ [ [ - 0.02852, - 0.17109, - 0.10127 + 0.00668, + 0.04005, + 0.0237 ], [ - -0.06816, - 0.03967, - -0.0538 + -0.01595, + 0.00928, + -0.01259 ], [ - 0.02766, - 0.0149, - 0.10554 + 0.00647, + 0.00349, + 0.0247 ], [ - -0.06062, - 0.17917, - -0.00931 + -0.01419, + 0.04194, + -0.00218 ], [ - 0.02545, - 0.07577, - -0.01077 + 0.00596, + 0.01773, + -0.00252 ], [ - 0.02064, - 0.17146, - -0.00919 + 0.00483, + 0.04013, + -0.00215 ], [ - -0.01052, - 0.07381, - 0.06791 + -0.00246, + 0.01728, + 0.0159 ], [ - -0.02294, - 0.12076, - -0.04708 + -0.00537, + 0.02827, + -0.01102 ], [ - -0.02819, - 0.03178, - 0.01218 + -0.0066, + 0.00744, + 0.00285 ], [ - 0.03393, - 0.12386, - 0.04969 + 0.00794, + 0.02899, + 0.01163 ] ], [ [ - -0.06232, - 0.2295, - -0.0027 + -0.01459, + 0.05372, + -0.00063 ], [ - 0.05055, - 0.00527, - 0.08341 + 0.01183, + 0.00123, + 0.01952 ], [ - -0.0638, - 0.04837, - -0.02066 + -0.01493, + 0.01132, + -0.00484 ], [ - 0.02712, - 0.1478, - 0.07029 + 0.00635, + 0.03459, + 0.01645 ], [ - -0.04658, - 0.13861, - 0.00766 + -0.0109, + 0.03244, + 0.00179 ], [ - 0.01496, - 0.01533, - -0.01238 + 0.0035, + 0.00359, + -0.0029 ], [ - 0.01774, - 0.10913, - -0.00653 + 0.00415, + 0.02554, + -0.00153 ], [ - 0.0009, - 0.19854, - 0.00075 + 0.00021, + 0.04647, + 0.00017 ], [ - 0.01654, - 0.05632, - 0.03637 + 0.00387, + 0.01318, + 0.00851 ], [ - -0.02986, - 0.09482, - -0.00924 + -0.00699, + 0.0222, + -0.00216 ] ] ], @@ -1149,232 +1149,232 @@ "tips": [ [ -0.0, - 0.4484, + 0.10496, + 0.0 + ], + [ + -0.0, + 0.10547, -0.0 ], [ -0.0, - 0.45058, + 0.10554, -0.0 ], [ - -0.0, - 0.45088, - -0.0 - ], - [ - 0.06856, - 0.41454, - 0.28126 + 0.01605, + 0.09703, + 0.06583 ] ], "hulls": [ [ [ - -0.30561, - 0.45896, - 0.04852 + -0.07153, + 0.10743, + 0.01136 ], [ - 0.27358, - 0.01398, - 0.01529 + 0.06404, + 0.00327, + 0.00358 ], [ - -0.2397, - -0.00088, - 0.03466 + -0.05611, + -0.00021, + 0.00811 ], [ - 0.13601, - 0.43669, - -0.00605 + 0.03184, + 0.10221, + -0.00142 ], [ - 0.02976, - 0.17673, - 0.13792 + 0.00697, + 0.04137, + 0.03228 ], [ - -0.18885, - 0.25379, - -0.05246 + -0.0442, + 0.0594, + -0.01228 ], + [ + -0.02144, + 0.09165, + 0.02908 + ], + [ + 0.0631, + 0.05723, + -0.00107 + ], + [ + 0.00291, + 0.00036, + 0.00243 + ], + [ + 0.03631, + 0.08221, + 0.03787 + ] + ], + [ [ -0.09161, - 0.39157, - 0.12423 + 0.10225, + -0.00107 ], [ - 0.26957, - 0.2445, - -0.00455 + 0.06914, + 0.0124, + 0.01082 ], [ - 0.01242, - 0.00153, - 0.01039 + -0.04301, + 0.00087, + 0.02207 ], [ - 0.15512, - 0.35123, - 0.16179 + 0.0331, + 0.09992, + 0.06227 + ], + [ + 0.00729, + 0.05557, + 0.00233 + ], + [ + 0.06579, + 0.10144, + -0.00492 + ], + [ + -0.04659, + 0.07612, + 0.04976 + ], + [ + -0.07923, + 0.04122, + -0.00863 + ], + [ + -0.03052, + 0.10194, + -0.00235 + ], + [ + 0.01152, + 0.01006, + 0.03891 ] ], [ [ - -0.39137, - 0.43685, - -0.00457 + 0.07388, + 0.12158, + 0.057 ], [ - 0.29538, - 0.05297, - 0.04624 + -0.09419, + 0.0045, + -0.00035 ], [ - -0.18377, - 0.00373, - 0.09429 + 0.06616, + 0.00696, + -0.00356 ], [ - 0.14142, - 0.42686, - 0.26603 + -0.05004, + 0.1064, + 0.05473 ], [ - 0.03116, - 0.23743, - 0.00994 + -0.01029, + 0.00661, + 0.06143 ], [ - 0.28106, - 0.43336, - -0.021 + 0.02326, + 0.07918, + 0.00042 ], [ - -0.19905, - 0.32519, - 0.21259 + -0.12052, + 0.07684, + 0.02644 ], [ - -0.33851, - 0.17608, - -0.03686 + 0.05954, + 0.0501, + 0.05852 ], [ - -0.1304, - 0.43552, - -0.01005 + -0.04165, + 0.05332, + 0.00092 ], [ - 0.04921, - 0.04297, - 0.16624 + 0.00708, + 0.08094, + 0.06213 ] ], [ [ - 0.31564, - 0.51941, - 0.24352 + -0.10796, + 0.05015, + 0.05267 ], [ - -0.4024, - 0.01923, - -0.00149 + 0.09532, + 0.08732, + -0.00437 ], [ - 0.28266, - 0.02971, - -0.0152 + 0.01438, + -0.01201, + 0.06067 ], [ - -0.21378, - 0.45457, - 0.23382 + -0.01579, + 0.09651, + 0.00338 ], [ - -0.04398, - 0.02826, - 0.26246 + 0.08815, + -0.00924, + 0.00912 ], [ - 0.09935, - 0.33826, - 0.00182 + -0.04214, + 0.0078, + 0.011 ], [ - -0.51489, - 0.32827, - 0.11295 + 0.02619, + 0.06354, + 0.06116 ], [ - 0.25435, - 0.21405, - 0.25001 + -0.04095, + 0.06844, + 0.06988 ], [ - -0.17792, - 0.22781, - 0.00393 + 0.03418, + 0.0353, + 0.00184 ], [ - 0.03024, - 0.34581, - 0.26545 - ] - ], - [ - [ - -0.46123, - 0.21427, - 0.22503 - ], - [ - 0.40725, - 0.37305, - -0.01867 - ], - [ - 0.06145, - -0.05132, - 0.25919 - ], - [ - -0.06744, - 0.41233, - 0.01445 - ], - [ - 0.3766, - -0.03946, - 0.03895 - ], - [ - -0.18003, - 0.03332, - 0.04701 - ], - [ - 0.11189, - 0.27147, - 0.2613 - ], - [ - -0.17493, - 0.29239, - 0.29856 - ], - [ - 0.14603, - 0.15083, - 0.00786 - ], - [ - -0.24578, - 0.02817, - 0.3072 + -0.05753, + 0.00659, + 0.07191 ] ] ], @@ -1407,232 +1407,232 @@ "tips": [ [ 0.0, - 0.4504, + 0.10543, 0.0 ], [ 0.0, - 0.44739, + 0.10472, 0.0 ], [ 0.0, - 0.44959, + 0.10523, 0.0 ], [ - -0.27432, - 0.58888, - 0.16117 + -0.06421, + 0.13784, + 0.03773 ] ], "hulls": [ [ [ - -0.28438, - 0.47107, - 0.20579 + -0.06656, + 0.11026, + 0.04817 ], [ - 0.05209, - 0.02956, - -0.19388 + 0.01219, + 0.00692, + -0.04538 ], [ - -0.16264, - 0.02227, - 0.22503 + -0.03807, + 0.00521, + 0.05267 ], [ - -0.09705, - 0.43194, - -0.20724 + -0.02272, + 0.1011, + -0.04851 ], [ - -0.01701, - 0.31943, - 0.08756 + -0.00398, + 0.07477, + 0.0205 ], [ - -0.18365, - 0.16814, - -0.14643 + -0.04299, + 0.03936, + -0.03427 ], [ - -0.25345, - 0.24513, - 0.11073 + -0.05933, + 0.05738, + 0.02592 ], [ - -0.02347, - 0.06617, - 0.04353 + -0.00549, + 0.01549, + 0.01019 ], [ - 0.07976, - 0.29127, - -0.17225 + 0.01867, + 0.06818, + -0.04032 ], [ - -0.16634, - 0.45435, - 0.04176 + -0.03893, + 0.10635, + 0.00977 ] ], [ [ - -0.37512, - 0.44713, - 0.17017 + -0.0878, + 0.10466, + 0.03983 ], [ - 0.12345, - 0.03225, - -0.14097 + 0.0289, + 0.00755, + -0.033 ], [ - -0.2256, - -0.01577, - 0.1733 + -0.05281, + -0.00369, + 0.04056 ], [ - -0.08658, - 0.43353, - -0.16681 + -0.02026, + 0.10148, + -0.03905 ], [ - -0.06829, - 0.24528, - 0.08554 + -0.01598, + 0.05741, + 0.02002 ], [ - -0.16512, - 0.12466, - -0.19884 + -0.03865, + 0.02918, + -0.04654 ], [ - 0.13143, - 0.40807, - -0.00862 + 0.03076, + 0.09552, + -0.00202 ], [ - -0.31702, - 0.25772, - -0.00895 + -0.07421, + 0.06032, + -0.0021 ], [ - -0.07047, - 0.00962, - 0.00769 + -0.01649, + 0.00225, + 0.0018 ], [ - 0.02445, - 0.25684, - -0.13267 + 0.00572, + 0.06012, + -0.03105 ] ], [ [ - -0.45478, - 0.39909, - 0.15102 + -0.10645, + 0.09342, + 0.03535 ], [ - 0.15868, - 0.02054, - -0.08618 + 0.03714, + 0.00481, + -0.02017 ], [ - -0.33289, - -0.01496, - -0.05022 + -0.07792, + -0.0035, + -0.01175 ], [ - 0.0199, - 0.44565, - 0.02737 + 0.00466, + 0.10431, + 0.00641 ], [ - -0.25988, - 0.31748, - -0.10597 + -0.06083, + 0.07431, + -0.0248 ], [ - -0.09569, - 0.13674, - 0.09789 + -0.0224, + 0.03201, + 0.02291 ], [ - -0.03946, - 0.18458, - -0.15987 + -0.00924, + 0.0432, + -0.03742 ], [ - -0.41833, - 0.13849, - 0.13964 + -0.09792, + 0.03242, + 0.03269 ], [ - -0.21358, - 0.34463, - 0.15775 + -0.04999, + 0.08067, + 0.03692 ], [ - 0.17694, - 0.27369, - -0.08447 + 0.04142, + 0.06406, + -0.01977 ] ], [ [ - -0.39932, - 0.52168, - 0.30937 + -0.09347, + 0.12211, + 0.07242 ], [ - 0.14105, - 0.04215, - -0.15308 + 0.03302, + 0.00987, + -0.03583 ], [ - -0.2636, - 0.01466, - 0.26982 + -0.0617, + 0.00343, + 0.06316 ], [ - -0.00913, - 0.49202, - -0.0559 + -0.00214, + 0.11517, + -0.01309 ], [ - -0.16879, - 0.15532, - -0.03854 + -0.03951, + 0.03636, + -0.00902 ], [ - -0.12843, - 0.33076, - 0.24491 + -0.03006, + 0.07742, + 0.05733 ], [ - -0.39598, - 0.30824, - 0.10678 + -0.09269, + 0.07215, + 0.02499 ], [ - -0.36593, - 0.56439, - 0.02983 + -0.08565, + 0.13211, + 0.00698 ], [ - 0.08624, - 0.24417, - 0.00414 + 0.02019, + 0.05715, + 0.00097 ], [ - -0.03737, - 0.0521, - 0.15515 + -0.00875, + 0.0122, + 0.03632 ] ] ], @@ -1665,232 +1665,232 @@ "tips": [ [ 0.0, - 0.47332, - -0.0 + 0.11079, + 0.0 ], [ -0.0, - 0.47073, + 0.11018, -0.0 ], [ 0.0, - 0.47288, + 0.11069, 0.0 ], [ - 0.22602, - 0.61274, - 0.10067 + 0.0529, + 0.14342, + 0.02356 ] ], "hulls": [ [ [ - 0.18077, - 0.47731, - -0.18119 + 0.04231, + 0.11172, + -0.04241 ], [ - 0.06787, - 0.00853, - 0.19382 + 0.01589, + 0.002, + 0.04537 ], [ - -0.02113, - 0.09323, - -0.2118 + -0.00495, + 0.02182, + -0.04958 ], [ - 0.17566, - 0.40583, - 0.18377 + 0.04112, + 0.09499, + 0.04301 ], [ - -0.09678, - 0.37162, - -0.0954 + -0.02265, + 0.08699, + -0.02233 ], [ - 0.14964, - 0.24161, - -0.0546 + 0.03503, + 0.05655, + -0.01278 ], [ - -0.04655, - 0.06776, - 0.00735 + -0.0109, + 0.01586, + 0.00172 ], [ - 0.22101, - 0.15549, - 0.13301 + 0.05173, + 0.03639, + 0.03113 ], [ - 0.00905, - 0.29716, - 0.09358 + 0.00212, + 0.06956, + 0.02191 ], [ - 0.11489, - 0.42991, - -0.00726 + 0.02689, + 0.10063, + -0.0017 ] ], [ [ - 0.30631, - 0.48093, - -0.00228 + 0.0717, + 0.11257, + -0.00053 ], [ - -0.1194, - 0.04685, - -0.17181 + -0.02795, + 0.01097, + -0.04021 ], [ - 0.19604, - -0.00397, - 0.15273 + 0.04589, + -0.00093, + 0.03575 ], [ - -0.15218, - 0.42435, - -0.03701 + -0.03562, + 0.09933, + -0.00866 ], [ - 0.17267, - 0.24478, - -0.1935 + 0.04042, + 0.0573, + -0.04529 ], [ - 0.11202, - 0.30075, - 0.11453 + 0.02622, + 0.0704, + 0.02681 ], [ - 0.07806, - 0.44881, - -0.10016 + 0.01827, + 0.10505, + -0.02344 ], [ - 0.29375, - 0.16718, - 0.01605 - ], - [ - 0.14902, - 0.02449, - -0.12039 - ], - [ - -0.01624, - 0.12069, - 0.02256 - ] - ], - [ - [ - 0.41409, - 0.39957, - -0.09052 - ], - [ - -0.18235, - 0.03764, - -0.10022 - ], - [ - 0.26176, - -0.01005, - 0.12052 - ], - [ - -0.06114, - 0.47471, + 0.06876, + 0.03913, 0.00376 ], [ - 0.14259, - 0.17242, - -0.17004 + 0.03488, + 0.00573, + -0.02818 ], [ - 0.20735, - 0.3115, - 0.14406 - ], - [ - -0.01304, - 0.20912, - 0.03708 - ], - [ - 0.14656, - 0.41243, - -0.1042 - ], - [ - 0.34696, - 0.15113, - -0.07191 - ], - [ - -0.175, - 0.2941, - -0.0837 + -0.0038, + 0.02825, + 0.00528 ] ], [ [ - 0.37956, - 0.57778, - 0.03076 + 0.09693, + 0.09353, + -0.02119 ], [ - -0.13405, - 0.02451, - -0.13434 + -0.04268, + 0.00881, + -0.02346 ], [ - 0.23259, - 0.09825, - 0.28538 + 0.06127, + -0.00235, + 0.02821 ], [ - -0.02689, - 0.44125, - -0.07193 + -0.01431, + 0.11112, + 0.00088 ], [ - 0.20504, - 0.05451, - -0.07925 + 0.03338, + 0.04036, + -0.0398 ], [ - 0.20793, - 0.43887, - 0.27931 + 0.04853, + 0.07291, + 0.03372 ], [ - 0.41433, - 0.27788, - 0.10857 + -0.00305, + 0.04895, + 0.00868 ], [ - 0.01113, - 0.24433, - 0.13666 + 0.03431, + 0.09654, + -0.02439 ], [ - 0.22519, - 0.37064, - 0.00799 + 0.08121, + 0.03538, + -0.01683 ], [ - 0.06119, - 0.0232, - 0.14819 + -0.04096, + 0.06884, + -0.01959 + ] + ], + [ + [ + 0.08884, + 0.13524, + 0.0072 + ], + [ + -0.03138, + 0.00574, + -0.03145 + ], + [ + 0.05444, + 0.023, + 0.0668 + ], + [ + -0.00629, + 0.10328, + -0.01684 + ], + [ + 0.04799, + 0.01276, + -0.01855 + ], + [ + 0.04867, + 0.10273, + 0.06538 + ], + [ + 0.09698, + 0.06504, + 0.02541 + ], + [ + 0.00261, + 0.05719, + 0.03199 + ], + [ + 0.05271, + 0.08676, + 0.00187 + ], + [ + 0.01432, + 0.00543, + 0.03469 ] ] ], @@ -1922,175 +1922,175 @@ "tips": [ [ 0.0, - 0.41625, + 0.09743, -0.0 ], [ - -0.0, - 0.41705, - -0.0 + 0.0, + 0.09762, + 0.0 ], [ - 0.01975, - 0.43345, - -0.0549 + 0.00462, + 0.10146, + -0.01285 ] ], "hulls": [ [ [ - -0.05218, - 0.41347, - 0.04055 + -0.01221, + 0.09678, + 0.00949 ], [ - 0.03177, - -0.00215, - -0.03525 + 0.00744, + -0.0005, + -0.00825 ], [ - 0.05281, - 0.22688, - -0.07803 + 0.01236, + 0.0531, + -0.01826 ], [ - -0.04312, - 0.15373, - 0.04853 + -0.01009, + 0.03598, + 0.01136 ], [ - 0.04807, - 0.40192, - -0.10172 + 0.01125, + 0.09408, + -0.02381 ], [ - -0.05799, - 0.3071, - -0.09105 + -0.01357, + 0.07188, + -0.02131 ], [ - -0.02007, - 0.28454, - 0.04857 + -0.0047, + 0.0666, + 0.01137 ], [ - -0.05505, - 0.09475, - -0.06273 + -0.01289, + 0.02218, + -0.01468 ], [ - -0.03984, - 0.02599, - 0.05062 + -0.00933, + 0.00608, + 0.01185 ], [ - -0.04777, - 0.20882, - -0.04542 + -0.01118, + 0.04888, + -0.01063 ] ], [ [ - 0.0335, - 0.42533, - 0.059 + 0.00784, + 0.09956, + 0.01381 ], [ - -0.07896, - 0.01346, - -0.0795 + -0.01848, + 0.00315, + -0.01861 ], [ - -0.06451, - 0.25664, - -0.103 + -0.0151, + 0.06007, + -0.02411 ], [ - 0.00506, - 0.16691, - 0.0594 + 0.00118, + 0.03907, + 0.0139 ], [ - 0.10342, - 0.322, - -0.06778 + 0.02421, + 0.07537, + -0.01586 ], [ - 0.04654, - 0.11855, - -0.11069 + 0.01089, + 0.02775, + -0.02591 ], [ - -0.07462, - 0.38391, - -0.04358 + -0.01747, + 0.08986, + -0.0102 ], [ - 0.00894, - 0.03726, - 0.02739 + 0.00209, + 0.00872, + 0.00641 ], [ - 0.0153, - 0.29673, - 0.03412 + 0.00358, + 0.06946, + 0.00799 ], [ - -0.08764, - 0.14273, - -0.07676 + -0.02051, + 0.03341, + -0.01797 ] ], [ [ - -0.08371, - 0.39845, - -0.06629 + -0.01959, + 0.09327, + -0.01552 ], [ - 0.09888, - 0.01185, - -0.0626 + 0.02314, + 0.00277, + -0.01465 ], [ - 0.06292, - 0.24178, - 0.06504 + 0.01473, + 0.05659, + 0.01522 ], [ - -0.10335, - 0.02984, - -0.04318 + -0.02419, + 0.00699, + -0.01011 ], [ - 0.121, - 0.18905, - -0.09701 + 0.02832, + 0.04425, + -0.02271 ], [ - -0.05214, - 0.19389, - -0.0401 + -0.0122, + 0.04538, + -0.00939 ], [ - 0.0448, - 0.07149, - 0.05703 + 0.01049, + 0.01673, + 0.01335 ], [ - 0.01522, - 0.36661, - 0.02339 + 0.00356, + 0.08581, + 0.00547 ], [ - 0.0443, - 0.29237, - -0.07533 + 0.01037, + 0.06844, + -0.01763 ], [ - 0.03699, - 0.1027, - -0.09551 + 0.00866, + 0.02404, + -0.02235 ] ] ], @@ -2118,175 +2118,175 @@ "tips": [ [ 0.0, - 0.4231, + 0.09903, -0.0 ], [ - 0.0, - 0.42393, + -0.0, + 0.09923, 0.0 ], [ - -0.01853, - 0.42829, - -0.05765 + -0.00434, + 0.10025, + -0.01349 ] ], "hulls": [ [ [ - -0.04897, - 0.41696, - -0.10284 + -0.01146, + 0.0976, + -0.02407 ], [ - 0.03355, - 0.02915, - 0.05755 + 0.00785, + 0.00682, + 0.01347 ], [ - 0.06137, - 0.24279, - -0.02321 + 0.01436, + 0.05683, + -0.00543 ], [ - 0.04967, - 0.41749, - 0.04582 + 0.01163, + 0.09772, + 0.01073 ], [ - -0.05423, - 0.11301, - -0.06107 + -0.01269, + 0.02645, + -0.0143 ], [ - -0.05612, - 0.29021, - -0.06077 + -0.01314, + 0.06793, + -0.01422 ], [ - 0.00571, - 0.15956, - 0.05422 + 0.00134, + 0.03735, + 0.01269 ], [ - 0.05643, - 0.35235, - -0.08243 + 0.01321, + 0.08248, + -0.01929 ], [ - 0.05285, - 0.06806, - -0.06063 + 0.01237, + 0.01593, + -0.01419 ], [ - 0.00115, - 0.33161, - 0.01545 + 0.00027, + 0.07762, + 0.00362 ] ], [ [ - 0.02286, - 0.42359, - 0.08787 + 0.00535, + 0.09915, + 0.02057 ], [ - -0.04479, - 0.01488, - -0.08559 + -0.01048, + 0.00348, + -0.02003 ], [ - 0.08707, - 0.2424, - -0.08143 + 0.02038, + 0.05674, + -0.01906 ], [ - -0.10175, - 0.36172, - -0.0585 + -0.02382, + 0.08467, + -0.01369 ], [ - 0.03806, - 0.12152, - 0.06415 + 0.00891, + 0.02845, + 0.01502 ], [ - -0.07421, - 0.18773, - -0.07202 + -0.01737, + 0.04394, + -0.01686 ], [ - 0.06401, - 0.39442, - -0.08826 + 0.01498, + 0.09232, + -0.02066 ], [ - -0.00933, - 0.28697, - 0.02684 + -0.00218, + 0.06717, + 0.00628 ], [ - 0.07358, - 0.08769, - -0.10203 + 0.01722, + 0.02052, + -0.02388 ], [ - 0.05864, - 0.02867, - 0.00668 + 0.01373, + 0.00671, + 0.00156 ] ], [ [ - 0.0723, - 0.40647, - -0.04364 + 0.01692, + 0.09514, + -0.01021 ], [ - -0.09043, - -0.00774, - -0.05388 + -0.02117, + -0.00181, + -0.01261 ], [ - -0.06249, - 0.20278, - 0.08036 + -0.01463, + 0.04746, + 0.01881 ], [ - 0.10805, - 0.03552, - -0.02907 + 0.02529, + 0.00831, + -0.0068 ], [ - -0.07139, - 0.28655, - -0.12501 + -0.01671, + 0.06707, + -0.02926 ], [ - -0.02577, - 0.0356, - 0.09033 + -0.00603, + 0.00833, + 0.02114 ], [ - 0.0582, - 0.19865, - -0.02788 + 0.01362, + 0.0465, + -0.00653 ], [ - -0.04492, - 0.33234, - 0.01004 + -0.01052, + 0.07779, + 0.00235 ], [ - -0.06003, - 0.13334, - -0.07141 + -0.01405, + 0.03121, + -0.01671 ], [ - -0.01371, - 0.12562, - 0.02416 + -0.00321, + 0.0294, + 0.00566 ] ] ], @@ -2311,62 +2311,62 @@ ], "tips": [ [ - -0.04922, - 0.38428, - 0.01987 + -0.01152, + 0.08995, + 0.00465 ] ], "hulls": [ [ [ - -0.1728, - 0.28892, - 0.01266 + -0.04045, + 0.06763, + 0.00296 ], [ - 0.17534, - 0.16503, - -0.00874 + 0.04104, + 0.03863, + -0.00205 ], [ - -0.08442, - 0.00104, - 0.02219 + -0.01976, + 0.00024, + 0.0052 ], [ - 0.02968, - 0.30322, - -0.00323 + 0.00695, + 0.07097, + -0.00076 ], [ - -0.2248, - 0.11037, - 0.03115 + -0.05262, + 0.02583, + 0.00729 ], [ - 0.15053, - 0.287, - -0.01652 + 0.03523, + 0.06718, + -0.00387 ], [ - 0.08457, - 0.09472, - 0.00967 + 0.01979, + 0.02217, + 0.00226 ], [ - -0.06799, - 0.24028, - 0.01268 + -0.01592, + 0.05624, + 0.00297 ], [ - -0.1849, - 0.17744, - 0.02477 + -0.04328, + 0.04153, + 0.0058 ], [ - -0.15154, - 0.08483, - 0.03122 + -0.03547, + 0.01986, + 0.00731 ] ] ], @@ -2381,42 +2381,42 @@ "bone": "Hips", "child": "Spine", "from": 0.0, - "radius_head": 0.6138, - "radius_tail": 0.6138, - "radius": 0.6138, + "radius_head": 0.1498, + "radius_tail": 0.1498, + "radius": 0.1498, "lid": true }, { "bone": "Left leg", "child": "Left knee", "from": 0.1, - "radius_head": 0.4096, - "radius_tail": 0.2172, - "radius": 0.2172 + "radius_head": 0.102, + "radius_tail": 0.057, + "radius": 0.057 }, { "bone": "Right leg", "child": "Right knee", "from": 0.1, - "radius_head": 0.4096, - "radius_tail": 0.2172, - "radius": 0.2172 + "radius_head": 0.102, + "radius_tail": 0.057, + "radius": 0.057 }, { "bone": "Left knee", "child": "Left ankle", "from": 0.1, - "radius_head": 0.3512, - "radius_tail": 0.1763, - "radius": 0.1763 + "radius_head": 0.0883, + "radius_tail": 0.0474, + "radius": 0.0474 }, { "bone": "Right knee", "child": "Right ankle", "from": 0.1, - "radius_head": 0.3512, - "radius_tail": 0.1763, - "radius": 0.1763 + "radius_head": 0.0883, + "radius_tail": 0.0474, + "radius": 0.0474 } ], "weights_authored": true, diff --git a/assets/characters/skins/hikari.glb b/assets/characters/skins/hikari.glb deleted file mode 100644 index cebfc7f..0000000 Binary files a/assets/characters/skins/hikari.glb and /dev/null differ diff --git a/assets/characters/skins/hikari.license.json b/assets/characters/skins/hikari.license.json deleted file mode 100644 index f7c92f1..0000000 --- a/assets/characters/skins/hikari.license.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "school anime girl (rigged)", - "uid": "6eaf44ff6ef7461583a5eccc301b88fc", - "author": "hikari", - "author_url": "https://sketchfab.com/hikari0135", - "license": "CC Attribution", - "license_slug": "by", - "source_url": "https://sketchfab.com/3d-models/school-anime-girl-rigged-6eaf44ff6ef7461583a5eccc301b88fc" -} \ No newline at end of file diff --git a/assets/characters/skins/hikari.rig.json b/assets/characters/skins/hikari.rig.json deleted file mode 100644 index 080b67d..0000000 --- a/assets/characters/skins/hikari.rig.json +++ /dev/null @@ -1,731 +0,0 @@ -{ - "roles": { - "hips": "Hips", - "head": "Bone.003_end", - "neck": "Neck", - "spine": [ - "Spine", - "Chest", - "Upper Chest", - "Neck", - "Head", - "Bone.003", - "Bone.003_end" - ], - "shoulder.R": "Right shoulder", - "shoulder.L": "Left shoulder", - "foot.R": "Right ankle", - "foot.L": "Left ankle", - "hand.R": "Right wrist", - "hand.L": "Left wrist", - "forearm.R": "Right elbow", - "forearm.L": "Left elbow", - "shin.R": "Right knee", - "shin.L": "Left knee", - "toe.R": "Right toe", - "toe.L": "Left toe_end", - "upper_arm.R": "Right arm", - "upper_arm.L": "Left arm", - "thigh.L": "Left leg", - "thigh.R": "Right leg" - }, - "chains": [ - { - "class": "breast", - "root_parent": "Upper Chest", - "bones": [ - "Breast_L", - "J_Sec_L_Bust2", - "J_Sec_L_Bust2_end" - ], - "tips": [ - [ - -0.0, - 0.0, - 0.0 - ], - [ - 2e-05, - 5e-05, - -0.0 - ], - [ - 2e-05, - 5e-05, - -0.0 - ] - ], - "hulls": [ - [], - [], - [] - ], - "neighbours": [ - {}, - {}, - {} - ] - }, - { - "class": "breast", - "root_parent": "Upper Chest", - "bones": [ - "Breast_R", - "J_Sec_R_Bust2", - "J_Sec_R_Bust2_end" - ], - "tips": [ - [ - 0.0, - 0.0, - -0.0 - ], - [ - -3e-05, - 5e-05, - -1e-05 - ], - [ - -3e-05, - 5e-05, - -1e-05 - ] - ], - "hulls": [ - [], - [], - [] - ], - "neighbours": [ - {}, - {}, - {} - ] - }, - { - "class": "hair", - "root_parent": "Head", - "bones": [ - "J_Sec_Hair1_01", - "J_Sec_Hair2_01", - "J_Sec_Hair2_01_end" - ], - "tips": [ - [ - -0.0, - -0.0, - -0.0 - ], - [ - 3e-05, - 3e-05, - -4e-05 - ], - [ - 3e-05, - 3e-05, - -4e-05 - ] - ], - "hulls": [ - [ - [ - -0.0, - -0.0, - -0.0 - ] - ], - [ - [ - -0.0, - 0.0, - 0.0 - ] - ], - [] - ], - "neighbours": [ - { - "J_Sec_Hair2_01": 14.335576471341188 - }, - { - "J_Sec_Hair1_01": 14.335576471341188 - }, - {} - ] - }, - { - "class": "hair", - "root_parent": "Head", - "bones": [ - "J_Sec_Hair1_02", - "J_Sec_Hair2_02", - "J_Sec_Hair2_02_end" - ], - "tips": [ - [ - 0.0, - 0.0, - -0.0 - ], - [ - 0.0, - 2e-05, - -5e-05 - ], - [ - 0.0, - 2e-05, - -5e-05 - ] - ], - "hulls": [ - [ - [ - -0.0, - 0.0, - -0.0 - ] - ], - [ - [ - -0.0, - 0.0, - -0.0 - ] - ], - [] - ], - "neighbours": [ - { - "J_Sec_Hair2_02": 13.644314260335037 - }, - { - "J_Sec_Hair1_02": 13.644314260335037 - }, - {} - ] - }, - { - "class": "hair", - "root_parent": "Head", - "bones": [ - "J_Sec_Hair1_03", - "J_Sec_Hair2_03", - "J_Sec_Hair2_03_end" - ], - "tips": [ - [ - 0.0, - 0.0, - -0.0 - ], - [ - 1e-05, - -0.0, - -6e-05 - ], - [ - 1e-05, - -0.0, - -6e-05 - ] - ], - "hulls": [ - [ - [ - 0.0, - 0.0, - 0.0 - ] - ], - [ - [ - -0.0, - 0.0, - 0.0 - ] - ], - [] - ], - "neighbours": [ - { - "J_Sec_Hair2_03": 29.697010893706615 - }, - { - "J_Sec_Hair1_03": 29.697010893706615 - }, - {} - ] - }, - { - "class": "hair", - "root_parent": "Head", - "bones": [ - "J_Sec_Hair1_04", - "J_Sec_Hair2_04", - "J_Sec_Hair2_04_end" - ], - "tips": [ - [ - 0.0, - 0.0, - 0.0 - ], - [ - 2e-05, - 1e-05, - -6e-05 - ], - [ - 2e-05, - 1e-05, - -6e-05 - ] - ], - "hulls": [ - [ - [ - -0.0, - -0.0, - 0.0 - ] - ], - [ - [ - 0.0, - 0.0, - -0.0 - ] - ], - [] - ], - "neighbours": [ - { - "J_Sec_Hair2_04": 11.592366459380674 - }, - { - "J_Sec_Hair1_04": 11.592366459380674 - }, - {} - ] - }, - { - "class": "hair", - "root_parent": "Head", - "bones": [ - "J_Sec_Hair1_05", - "J_Sec_Hair2_05", - "J_Sec_Hair2_05_end" - ], - "tips": [ - [ - 0.0, - 0.0, - -0.0 - ], - [ - 1e-05, - 2e-05, - -6e-05 - ], - [ - 1e-05, - 2e-05, - -6e-05 - ] - ], - "hulls": [ - [ - [ - 0.0, - 0.0, - -0.0 - ] - ], - [ - [ - -0.0, - 0.0, - -0.0 - ] - ], - [] - ], - "neighbours": [ - { - "J_Sec_Hair2_05": 11.876289952662745 - }, - { - "J_Sec_Hair1_05": 11.876289952662745 - }, - {} - ] - }, - { - "class": "hair", - "root_parent": "Head", - "bones": [ - "J_Sec_Hair1_06", - "J_Sec_Hair2_06", - "J_Sec_Hair3_06", - "J_Sec_Hair4_06", - "J_Sec_Hair5_06", - "J_Sec_Hair5_06_end" - ], - "tips": [ - [ - -0.0, - 0.0, - -0.0 - ], - [ - -0.0, - 0.0, - 0.0 - ], - [ - -0.0, - 0.0, - 0.0 - ], - [ - -0.0, - 0.0, - 0.0 - ], - [ - 0.0, - 3e-05, - -5e-05 - ], - [ - 0.0, - 3e-05, - -5e-05 - ] - ], - "hulls": [ - [ - [ - 0.0, - 0.0, - -0.0 - ] - ], - [ - [ - -0.0, - 0.0, - 0.0 - ] - ], - [ - [ - -0.0, - 0.0, - -0.0 - ] - ], - [ - [ - -0.0, - 0.0, - 0.0 - ] - ], - [ - [ - -0.0, - 0.0, - 0.0 - ] - ], - [] - ], - "neighbours": [ - { - "J_Sec_Hair2_06": 35.917357232526754 - }, - { - "J_Sec_Hair3_06": 35.52913589468082, - "J_Sec_Hair1_06": 35.917357232526754 - }, - { - "J_Sec_Hair4_06": 40.302343821289796, - "J_Sec_Hair2_06": 35.52913589468082 - }, - { - "J_Sec_Hair3_06": 40.302343821289796, - "J_Sec_Hair5_06": 40.950213036078026 - }, - { - "J_Sec_Hair4_06": 40.950213036078026 - }, - {} - ] - }, - { - "class": "hair", - "root_parent": "Head", - "bones": [ - "J_Sec_Hair1_07", - "J_Sec_Hair2_07", - "J_Sec_Hair3_07", - "J_Sec_Hair4_07", - "J_Sec_Hair5_07", - "J_Sec_Hair5_07_end" - ], - "tips": [ - [ - 0.0, - 0.0, - 0.0 - ], - [ - -0.0, - 0.0, - -0.0 - ], - [ - -0.0, - 0.0, - 0.0 - ], - [ - -0.0, - 0.0, - 0.0 - ], - [ - 3e-05, - 3e-05, - -3e-05 - ], - [ - 3e-05, - 3e-05, - -3e-05 - ] - ], - "hulls": [ - [ - [ - 0.0, - 0.0, - -0.0 - ] - ], - [ - [ - -0.0, - 0.0, - -0.0 - ] - ], - [ - [ - 0.0, - 0.0, - 0.0 - ] - ], - [ - [ - -0.0, - 0.0, - 0.0 - ] - ], - [ - [ - 0.0, - 0.0, - -0.0 - ] - ], - [] - ], - "neighbours": [ - { - "J_Sec_Hair2_07": 35.51566362438205 - }, - { - "J_Sec_Hair3_07": 35.31215403867316, - "J_Sec_Hair1_07": 35.51566362438205 - }, - { - "J_Sec_Hair4_07": 44.27519591590416, - "J_Sec_Hair2_07": 35.31215403867316 - }, - { - "J_Sec_Hair3_07": 44.27519591590416, - "J_Sec_Hair5_07": 40.6256217681383 - }, - { - "J_Sec_Hair4_07": 40.6256217681383 - }, - {} - ] - }, - { - "class": "hair", - "root_parent": "Head", - "bones": [ - "J_Sec_Hair1_08", - "J_Sec_Hair2_08", - "J_Sec_Hair3_08", - "J_Sec_Hair3_08_end" - ], - "tips": [ - [ - 0.0, - 0.0, - 0.0 - ], - [ - -0.0, - 0.0, - 0.0 - ], - [ - 4e-05, - -4e-05, - -1e-05 - ], - [ - 4e-05, - -4e-05, - -1e-05 - ] - ], - "hulls": [ - [ - [ - -0.0, - -0.0, - 0.0 - ] - ], - [ - [ - -0.0, - 0.0, - 0.0 - ] - ], - [ - [ - -0.0, - -0.0, - 0.0 - ] - ], - [] - ], - "neighbours": [ - { - "J_Sec_Hair2_08": 2.5078807040660998 - }, - { - "J_Sec_Hair1_08": 2.5078807040660998, - "J_Sec_Hair3_08": 2.222614413427433 - }, - { - "J_Sec_Hair2_08": 2.222614413427433 - }, - {} - ] - } - ], - "twist": [ - { - "bone": "Bone.004", - "parent": "Head", - "child": "Bone.004_end" - }, - { - "bone": "Bone.005", - "parent": "Head", - "child": "Bone.005_end" - }, - { - "bone": "Bone.006", - "parent": "Head", - "child": "Bone.006_end" - }, - { - "bone": "Bone.007", - "parent": "Head", - "child": "Bone.007_end" - }, - { - "bone": "Bone.008", - "parent": "Head", - "child": "Bone.008_end" - }, - { - "bone": "Bone.009", - "parent": "Head", - "child": "Bone.009_end" - }, - { - "bone": "Bone.010", - "parent": "Head", - "child": "Bone.010_end" - }, - { - "bone": "Bone.011", - "parent": "Head", - "child": "Bone.011_end" - }, - { - "bone": "Bone.012", - "parent": "Head", - "child": "Bone.012_end" - }, - { - "bone": "Bone.013", - "parent": "Head", - "child": "Bone.013_end" - }, - { - "bone": "Bone.001", - "parent": "Upper Chest", - "child": "Bone.001_end" - }, - { - "bone": "Bone.002", - "parent": "Upper Chest", - "child": "Bone.002_end" - } - ], - "colliders": [], - "weights_authored": true, - "driven_bones": [ - "Bone.003", - "Bone.003_end", - "Chest", - "Head", - "Hips", - "Left ankle", - "Left arm", - "Left elbow", - "Left knee", - "Left leg", - "Left shoulder", - "Left toe_end", - "Left wrist", - "Neck", - "Right ankle", - "Right arm", - "Right elbow", - "Right knee", - "Right leg", - "Right shoulder", - "Right toe", - "Right wrist", - "Spine", - "Upper Chest" - ] -} \ No newline at end of file diff --git a/assets/characters/skins/hikari_Image_0.jpg b/assets/characters/skins/hikari_Image_0.jpg deleted file mode 100644 index b800bc9..0000000 Binary files a/assets/characters/skins/hikari_Image_0.jpg and /dev/null differ diff --git a/assets/characters/skins/hikari_Image_1.jpg b/assets/characters/skins/hikari_Image_1.jpg deleted file mode 100644 index 83bfa3d..0000000 Binary files a/assets/characters/skins/hikari_Image_1.jpg and /dev/null differ diff --git a/assets/characters/skins/hikari_Image_2.jpg b/assets/characters/skins/hikari_Image_2.jpg deleted file mode 100644 index a12bafb..0000000 Binary files a/assets/characters/skins/hikari_Image_2.jpg and /dev/null differ diff --git a/assets/characters/skins/hikari_Image_3.jpg b/assets/characters/skins/hikari_Image_3.jpg deleted file mode 100644 index 6062980..0000000 Binary files a/assets/characters/skins/hikari_Image_3.jpg and /dev/null differ diff --git a/assets/characters/skins/hikari_Image_4.jpg b/assets/characters/skins/hikari_Image_4.jpg deleted file mode 100644 index dcb75de..0000000 Binary files a/assets/characters/skins/hikari_Image_4.jpg and /dev/null differ diff --git a/assets/characters/skins/momo.glb b/assets/characters/skins/momo.glb index c2d6501..fe4031f 100644 Binary files a/assets/characters/skins/momo.glb and b/assets/characters/skins/momo.glb differ diff --git a/assets/characters/skins/momo.rig.json b/assets/characters/skins/momo.rig.json index 905626d..a569278 100644 --- a/assets/characters/skins/momo.rig.json +++ b/assets/characters/skins/momo.rig.json @@ -1,28 +1,30 @@ { "roles": { "hips": "Hips", - "head": "Sk_00_03", - "neck": "Sk_00_02", + "head": "Unused_Noname_010", + "neck": "Neck", "spine": [ - "Sk_00_00", - "Sk_00_01", - "Sk_00_02", - "Sk_00_03" + "Spine", + "Chest", + "Neck", + "Head", + "Unused_Noname_004", + "Unused_Noname_010" ], - "shoulder.R": "Right shoulder", "shoulder.L": "Left shoulder", + "shoulder.R": "Right shoulder", "foot.R": "Right ankle", "foot.L": "Left ankle", - "hand.R": "Right wrist", "hand.L": "Left wrist", - "forearm.R": "Right elbow", + "hand.R": "Right wrist", "forearm.L": "Left elbow", - "shin.L": "Left knee", + "forearm.R": "Right elbow", "shin.R": "Right knee", - "toe.R": "Toes30_R", - "toe.L": "Toes30_L", - "upper_arm.R": "Right arm", + "shin.L": "Left knee", + "toe.R": "Toes2_R", + "toe.L": "Toes3_L", "upper_arm.L": "Left arm", + "upper_arm.R": "Right arm", "thigh.L": "Left leg", "thigh.R": "Right leg" }, @@ -38,203 +40,203 @@ ], "tips": [ [ - 0.0, - 0.02267, + -0.0, + 0.00499, 0.0 ], [ -0.0, - 0.02267, + 0.00499, -0.0 ], [ -0.0, - 0.02267, - -0.0 + 0.00499, + 0.0 ], [ - -0.21739, - 0.13668, - -0.04483 + -0.04786, + 0.03009, + -0.00987 ] ], "hulls": [ [ [ - 0.21045, - -0.20429, - -0.08542 + 0.04633, + -0.04498, + -0.01881 ], [ - 0.20116, - 0.14169, - 0.11444 + 0.04429, + 0.0312, + 0.0252 ], [ - -0.16098, - -0.16904, - -0.10869 + -0.03544, + -0.03722, + -0.02393 ], [ - -0.04696, - -0.01412, - 0.08814 + -0.01034, + -0.00311, + 0.01941 ], [ - 0.17813, - -0.059, - 0.06901 + 0.03922, + -0.01299, + 0.01519 ], [ - 0.01029, - -0.1666, - -0.01029 + 0.00226, + -0.03668, + -0.00227 ], [ - -0.01003, - -0.20293, - -0.1477 + -0.00221, + -0.04468, + -0.03252 ], [ - 0.09181, - 0.05892, - 0.10705 + 0.02021, + 0.01297, + 0.02357 ], [ - -0.11276, - -0.10104, - 0.03231 + -0.02483, + -0.02224, + 0.00711 ], [ - 0.06444, - -0.08013, - 0.08263 + 0.01419, + -0.01764, + 0.01819 ] ], [ [ - -0.15007, - -0.11493, - -0.16604 + -0.03304, + -0.0253, + -0.03656 ], [ - 0.10078, - 0.12253, - 0.11617 + 0.02219, + 0.02698, + 0.02558 ], [ - -0.08368, - -0.05847, - 0.05945 + -0.01842, + -0.01287, + 0.01309 ], [ - -0.14386, - -0.1036, - -0.06514 + -0.03167, + -0.02281, + -0.01434 ], [ - 0.06751, - 0.08738, - 0.09788 + 0.01486, + 0.01924, + 0.02155 ], [ - -0.12764, - -0.09075, - -0.01995 + -0.0281, + -0.01998, + -0.00439 ], [ - -0.15059, - -0.11217, - -0.11811 + -0.03316, + -0.0247, + -0.02601 ], [ - -0.1073, - -0.07509, - 0.02322 + -0.02363, + -0.01653, + 0.00511 ] ], [ [ - -0.19036, - -0.13182, - -0.03519 + -0.04191, + -0.02902, + -0.00775 ], [ - 0.09712, - 0.13502, - 0.0692 + 0.02138, + 0.02973, + 0.01524 ], [ - -0.04547, - 0.00235, - 0.11531 + -0.01001, + 0.00052, + 0.02539 ], [ - 0.02828, - 0.0524, - 0.12107 + 0.00623, + 0.01154, + 0.02665 ], [ - -0.03107, - 0.01944, - 0.09137 + -0.00684, + 0.00428, + 0.02012 ], [ - 0.01661, - 0.04231, - 0.09928 + 0.00366, + 0.00932, + 0.02186 ] ], [ [ - -0.21652, - -0.11445, - -0.14774 + -0.04767, + -0.0252, + -0.03253 ], [ - 0.06831, - 0.20871, - 0.06151 + 0.01504, + 0.04595, + 0.01354 ], [ - -0.07538, - -0.02603, - 0.07376 + -0.0166, + -0.00573, + 0.01624 ], [ - -0.15245, - 0.11439, - -0.11601 + -0.03357, + 0.02518, + -0.02554 ], [ - -0.07431, - 0.13903, - 0.0328 + -0.01636, + 0.03061, + 0.00722 ], [ - -0.18455, - -0.04723, - -0.00316 + -0.04063, + -0.0104, + -0.00069 ], [ - -0.22392, - 0.02113, - -0.09766 + -0.0493, + 0.00465, + -0.0215 ], [ - 0.04689, - 0.09358, - 0.07421 + 0.01032, + 0.0206, + 0.01634 ], [ - -0.16226, - 0.06615, - 0.00265 + -0.03573, + 0.01456, + 0.00058 ], [ - -0.01213, - 0.20261, - -0.02915 + -0.00267, + 0.04461, + -0.00642 ] ] ], @@ -287,177 +289,177 @@ "tips": [ [ 0.0, - 0.03046, - 0.0 - ], - [ - -0.0, - 0.03046, + 0.00671, 0.0 ], [ 0.0, - 0.03046, + 0.00671, 0.0 ], [ - 0.01771, - 0.08456, - 0.40469 + -0.0, + 0.00671, + -0.0 + ], + [ + 0.0039, + 0.01862, + 0.0891 ] ], "hulls": [ [ [ - -0.24205, - -0.28179, - 0.06551 + -0.05329, + -0.06204, + 0.01442 ], [ - 0.17296, - 0.24557, - -0.11376 + 0.03808, + 0.05407, + -0.02505 ], [ - 0.18708, - -0.21381, - -0.18684 + 0.04119, + -0.04707, + -0.04114 ], [ - -0.0223, - -0.26978, - -0.08768 + -0.00491, + -0.0594, + -0.0193 ], [ - 0.24684, - 0.02388, - -0.15213 + 0.05435, + 0.00526, + -0.03349 ], [ - 0.15201, - -0.07029, - -0.20017 + 0.03347, + -0.01547, + -0.04407 ], [ - -0.15796, - -0.20133, - 0.14551 + -0.03478, + -0.04433, + 0.03204 ], [ - -0.09378, - -0.26936, - 0.02385 + -0.02065, + -0.0593, + 0.00525 ], [ - 0.20882, - 0.13912, - -0.18818 + 0.04598, + 0.03063, + -0.04143 ], [ - 0.07284, - -0.27933, - -0.16417 + 0.01604, + -0.0615, + -0.03614 ] ], [ [ - -0.17088, - -0.19857, - 0.17547 + -0.03762, + -0.04372, + 0.03863 ], [ - 0.19703, - 0.16978, - -0.09552 + 0.04338, + 0.03738, + -0.02103 ], [ - 0.20327, - 0.07788, - -0.07458 + 0.04475, + 0.01715, + -0.01642 ], [ - 0.17079, - 0.13877, - -0.07738 + 0.0376, + 0.03055, + -0.01704 ] ], [ [ - -0.20098, - -0.15745, - 0.21759 + -0.04425, + -0.03467, + 0.04791 ], [ - 0.16517, - 0.21775, - -0.0608 + 0.03636, + 0.04794, + -0.01339 ], [ - 0.15981, - 0.15215, - -0.02853 + 0.03518, + 0.0335, + -0.00628 ], [ - -0.18514, - -0.19514, - 0.19732 + -0.04076, + -0.04296, + 0.04344 ], [ - 0.18245, - 0.17205, - -0.04168 + 0.04017, + 0.03788, + -0.00918 ] ], [ [ - -0.13726, - -0.066, - 0.32181 + -0.03022, + -0.01453, + 0.07085 ], [ - 0.15246, - 0.21618, - -0.00719 + 0.03357, + 0.04759, + -0.00158 ], [ - 0.10058, - 0.07334, - 0.22945 + 0.02215, + 0.01615, + 0.05052 ], [ - -0.15017, - -0.19083, - 0.21818 + -0.03306, + -0.04202, + 0.04804 ], [ - 0.15907, - 0.10033, - 0.08866 + 0.03502, + 0.02209, + 0.01952 ], [ - -0.01117, - 0.0487, - 0.30385 + -0.00246, + 0.01072, + 0.0669 ], [ - 0.0988, - 0.18945, - 0.16032 + 0.02175, + 0.04171, + 0.0353 ], [ - -0.03688, - -0.06666, - 0.25723 + -0.00812, + -0.01468, + 0.05663 ], [ - 0.20051, - 0.09559, - -0.01374 + 0.04415, + 0.02105, + -0.00302 ], [ - -0.18178, - -0.11271, - 0.25545 + -0.04002, + -0.02482, + 0.05624 ] ] ], @@ -530,24 +532,24 @@ ], "tips": [ [ - -0.0, - 0.15014, + 0.0, + 0.03306, -0.0 ], [ 0.0, - 0.15014, + 0.03306, -0.0 ], [ 0.0, - 0.15014, - 0.0 + 0.03306, + -0.0 ], [ 0.0, - 0.15014, - 0.0 + 0.03306, + -0.0 ] ], "hulls": [ @@ -602,207 +604,207 @@ "tips": [ [ -0.0, - 0.02282, - 0.0 - ], - [ - 0.0, - 0.02282, - 0.0 - ], - [ - 0.0, - 0.02282, + 0.00502, -0.0 ], [ - 0.21009, - 0.14103, - -0.04948 + 0.0, + 0.00502, + -0.0 + ], + [ + 0.0, + 0.00502, + 0.0 + ], + [ + 0.04626, + 0.03105, + -0.01089 ] ], "hulls": [ [ [ - -0.20077, - -0.20753, - -0.08485 + -0.0442, + -0.04569, + -0.01868 ], [ - -0.20739, - 0.14103, - 0.09554 + -0.04566, + 0.03105, + 0.02103 ], [ - 0.15612, - -0.16754, - -0.11058 + 0.03437, + -0.03689, + -0.02435 ], [ - 0.04606, - -0.0108, - 0.08908 + 0.01014, + -0.00238, + 0.01961 ], [ - -0.17787, - -0.06051, - 0.06838 + -0.03916, + -0.01332, + 0.01505 ], [ - -0.007, - -0.16699, - -0.00583 + -0.00154, + -0.03677, + -0.00128 ], [ - 0.01579, - -0.20666, - -0.14192 + 0.00348, + -0.0455, + -0.03125 ], [ - -0.09429, - 0.06004, - 0.10424 + -0.02076, + 0.01322, + 0.02295 ], [ - 0.11442, - -0.09931, - 0.03924 + 0.02519, + -0.02186, + 0.00864 ], [ - -0.06399, - -0.07908, - 0.08399 + -0.01409, + -0.01741, + 0.01849 ] ], [ [ - -0.15295, - 0.17304, - 0.05605 + -0.03367, + 0.0381, + 0.01234 ], [ - 0.12916, - -0.08896, - -0.01648 + 0.02844, + -0.01959, + -0.00363 ], [ - -0.03075, - 0.07732, - 0.11571 + -0.00677, + 0.01702, + 0.02547 ], [ - 0.08356, - -0.05537, - 0.06146 + 0.0184, + -0.01219, + 0.01353 ], [ - -0.10337, - 0.12653, - 0.10315 + -0.02276, + 0.02786, + 0.02271 ], [ - -0.07085, - 0.08854, - 0.09397 + -0.0156, + 0.01949, + 0.02069 ], [ - 0.10796, - -0.07252, - 0.02599 + 0.02377, + -0.01597, + 0.00572 ] ], [ [ - 0.19067, - -0.15981, - -0.12148 + 0.04198, + -0.03518, + -0.02675 ], [ - -0.1014, - 0.13462, - 0.063 + -0.02232, + 0.02964, + 0.01387 ], [ - 0.04468, - 0.00499, - 0.11569 + 0.00984, + 0.0011, + 0.02547 ], [ - 0.18524, - -0.13007, - -0.03633 + 0.04078, + -0.02864, + -0.008 ], [ - -0.01955, - 0.04434, - 0.09662 + -0.0043, + 0.00976, + 0.02127 ], [ - 0.1462, - -0.12554, - -0.06108 + 0.03219, + -0.02764, + -0.01345 ], [ - 0.15378, - -0.13542, - -0.11372 + 0.03386, + -0.02981, + -0.02504 ], [ - 0.02865, - 0.02218, - 0.08994 + 0.00631, + 0.00488, + 0.0198 ] ], [ [ - 0.21854, - -0.11998, - -0.14011 + 0.04812, + -0.02642, + -0.03085 ], [ - -0.07433, - 0.20846, - 0.05302 + -0.01636, + 0.0459, + 0.01167 ], [ - 0.0736, - -0.02306, - 0.07352 + 0.01621, + -0.00508, + 0.01619 ], [ - 0.15048, - 0.11359, - -0.11907 + 0.03313, + 0.02501, + -0.02622 ], [ - 0.06996, - 0.14078, - 0.02802 + 0.0154, + 0.031, + 0.00617 ], [ - 0.18266, - -0.04608, - -0.00117 + 0.04022, + -0.01015, + -0.00026 ], [ - 0.18892, - -0.00074, - -0.13853 + 0.04159, + -0.00016, + -0.0305 ], [ - -0.0509, - 0.09415, - 0.06915 + -0.01121, + 0.02073, + 0.01522 ], [ - 0.15965, - 0.06881, - 0.00099 + 0.03515, + 0.01515, + 0.00022 ], [ - 0.0074, - 0.20144, - -0.03643 + 0.00163, + 0.04435, + -0.00802 ] ] ], @@ -855,198 +857,198 @@ ], "tips": [ [ - 0.0, - 0.033, - -0.0 - ], - [ - 0.0, - 0.033, + -0.0, + 0.00727, 0.0 ], [ -0.0, - 0.033, + 0.00727, 0.0 ], [ - -0.0509, - 0.11285, - 0.37203 + -0.0, + 0.00727, + 0.0 + ], + [ + -0.01121, + 0.02484, + 0.08191 ] ], "hulls": [ [ [ - 0.19991, - -0.3038, - 0.11316 + 0.04401, + -0.06689, + 0.02491 ], [ - -0.15726, - 0.23417, - -0.18295 + -0.03462, + 0.05156, + -0.04028 ], [ - -0.15728, - -0.20432, - -0.19939 + -0.03463, + -0.04498, + -0.0439 ], [ - 0.01641, - -0.31205, - -0.02794 + 0.00361, + -0.0687, + -0.00615 ], [ - -0.16715, - 0.01663, - -0.19535 + -0.0368, + 0.00366, + -0.04301 ], [ - 0.1546, - -0.17254, - 0.1938 + 0.03404, + -0.03799, + 0.04267 ], [ - -0.04335, - -0.23479, - -0.14819 + -0.00954, + -0.05169, + -0.03263 ], [ - 0.09914, - -0.27985, - 0.05063 + 0.02183, + -0.06161, + 0.01115 ], [ - -0.19944, - 0.12705, - -0.17768 + -0.04391, + 0.02797, + -0.03912 ], [ - -0.24663, - -0.06047, - -0.17831 + -0.0543, + -0.01331, + -0.03926 ] ], [ [ - -0.14559, - 0.22289, - -0.14284 + -0.03205, + 0.04907, + -0.03145 ], [ - -0.18205, - 0.09194, - -0.1003 + -0.04008, + 0.02024, + -0.02208 ], [ - -0.10488, - 0.1979, - -0.08784 + -0.02309, + 0.04357, + -0.01934 ], [ - -0.14457, - 0.15053, - -0.09301 + -0.03183, + 0.03314, + -0.02048 ], [ - -0.17802, - 0.17644, - -0.13589 + -0.03919, + 0.03885, + -0.02992 ], [ - -0.19322, - 0.12358, - -0.12305 + -0.04254, + 0.02721, + -0.02709 ], [ - -0.14468, - 0.13486, - -0.1141 + -0.03185, + 0.02969, + -0.02512 ] ], [ [ - 0.14468, - -0.16648, - 0.23672 + 0.03185, + -0.03665, + 0.05212 ], [ - -0.13596, - 0.20604, - -0.10259 + -0.02993, + 0.04536, + -0.02259 ], [ - -0.18157, - 0.07618, - -0.07372 + -0.03998, + 0.01677, + -0.01623 ], [ - -0.14031, - 0.13152, - -0.07136 + -0.03089, + 0.02896, + -0.01571 ], [ - -0.10183, - 0.18581, - -0.06675 + -0.02242, + 0.04091, + -0.0147 ], [ - -0.16728, - 0.16489, - -0.08834 + -0.03683, + 0.0363, + -0.01945 ] ], [ [ - 0.12572, - -0.11453, - 0.32711 + 0.02768, + -0.02522, + 0.07202 ], [ - -0.12463, - 0.19648, - -0.04788 + -0.02744, + 0.04326, + -0.01054 ], [ - -0.05411, - 0.14396, - 0.25337 + -0.01191, + 0.03169, + 0.05578 ], [ - -0.13244, - 0.10869, - 0.09611 + -0.02916, + 0.02393, + 0.02116 ], [ - 0.01439, - -0.01653, - 0.26488 + 0.00317, + -0.00364, + 0.05832 ], [ - -0.09723, - 0.23408, - 0.13014 + -0.02141, + 0.05154, + 0.02865 ], [ - -0.16708, - 0.07888, - -0.02123 + -0.03679, + 0.01737, + -0.00467 ], [ - 0.09776, - -0.18742, - 0.23875 + 0.02152, + -0.04126, + 0.05256 ], [ - -0.10045, - 0.17949, - 0.0428 + -0.02212, + 0.03952, + 0.00942 ], [ - -0.04167, - 0.0467, - 0.22684 + -0.00917, + 0.01028, + 0.04994 ] ] ], @@ -1119,22 +1121,22 @@ "tips": [ [ -0.0, - 0.15102, - 0.0 - ], - [ - -0.0, - 0.15102, - 0.0 - ], - [ - 0.0, - 0.15102, + 0.03325, -0.0 ], [ 0.0, - 0.15102, + 0.03325, + -0.0 + ], + [ + 0.0, + 0.03325, + -0.0 + ], + [ + 0.0, + 0.03325, -0.0 ] ], @@ -1142,34 +1144,34 @@ [], [ [ - -0.09373, - 0.10047, - -0.07804 + -0.02064, + 0.02212, + -0.01718 ], [ - -0.02435, - 0.12835, - 0.03513 + -0.00536, + 0.02826, + 0.00773 ], [ - -0.08577, - 0.1204, - -0.02203 + -0.01888, + 0.02651, + -0.00485 ], [ - -0.03383, - 0.1191, - -0.0049 + -0.00745, + 0.02622, + -0.00108 ], [ - -0.08983, - 0.11462, - -0.04127 + -0.01978, + 0.02523, + -0.00909 ], [ - -0.02962, - 0.12394, - 0.01407 + -0.00652, + 0.02729, + 0.0031 ] ], [], @@ -1222,71 +1224,71 @@ "tips": [ [ 0.0, - 0.57663, + 0.12695, -0.0 ], [ - -0.0, - 0.12796, + 0.0, + 0.02817, 0.0 ], [ - -0.0, - 0.12796, + 0.0, + 0.02817, 0.0 ] ], "hulls": [ [ [ - -0.32205, - 0.89481, - -0.11118 + -0.0709, + 0.19701, + -0.02448 ], [ - -0.05537, - 0.1575, - 0.00405 + -0.01219, + 0.03468, + 0.00089 ], [ - -0.01437, - 0.58099, - -0.1041 + -0.00316, + 0.12791, + -0.02292 ], [ - -0.02314, - 0.35354, - -0.14007 + -0.0051, + 0.07784, + -0.03084 ], [ - -0.13017, - 0.76177, - -0.15337 + -0.02866, + 0.16772, + -0.03377 ], [ - -0.10099, - 0.64714, - -0.19197 + -0.02224, + 0.14248, + -0.04227 ], [ - 0.00379, - 0.26583, - -0.06645 + 0.00084, + 0.05853, + -0.01463 ], [ - 0.02133, - 0.45562, - -0.12007 + 0.0047, + 0.10031, + -0.02643 ], [ - -0.22316, - 0.84121, - -0.11203 + -0.04913, + 0.18521, + -0.02467 ], [ - -0.0497, - 0.51683, - -0.18633 + -0.01094, + 0.11379, + -0.04102 ] ], [], @@ -1314,180 +1316,180 @@ "tips": [ [ -0.0, - 0.94302, + 0.20762, -0.0 ], [ -0.0, - 0.21364, + 0.04704, 0.0 ], [ 0.0, - 0.29694, + 0.06538, -0.0 ], [ 0.0, - 0.29694, + 0.06538, -0.0 ] ], "hulls": [ [ [ - -0.01307, - 1.01208, - 0.05905 + -0.00288, + 0.22283, + 0.013 ], [ - 0.04037, - 0.17847, - -0.08806 + 0.00889, + 0.03929, + -0.01939 ], [ - -0.10283, - 0.6138, - -0.21962 + -0.02264, + 0.13514, + -0.04835 ], [ - -0.11025, - 0.44722, - 0.06269 + -0.02427, + 0.09846, + 0.0138 ], [ - 0.00084, - 0.92655, - -0.25084 + 0.00019, + 0.204, + -0.05523 ], [ - -0.09464, - 0.7267, - 0.09578 + -0.02084, + 0.15999, + 0.02109 ], [ - -0.06401, - 0.38794, - -0.16696 + -0.01409, + 0.08541, + -0.03676 ], [ - -0.11492, - 0.82402, - -0.10792 + -0.0253, + 0.18142, + -0.02376 ], [ - -0.15214, - 0.5963, - -0.0445 + -0.0335, + 0.13128, + -0.0098 ], [ - -0.08901, - 0.29779, - -0.00702 + -0.0196, + 0.06556, + -0.00155 ] ], [ [ - 0.09116, - 0.26972, - -0.18382 + 0.02007, + 0.05938, + -0.04047 ], [ - -0.03115, - 0.10864, - 0.08697 + -0.00686, + 0.02392, + 0.01915 ], [ - -0.03288, - 0.27668, - -0.01112 + -0.00724, + 0.06091, + -0.00245 ], [ - 0.00195, - 0.11804, - -0.10515 + 0.00043, + 0.02599, + -0.02315 ], [ - -0.01918, - 0.2776, - 0.1015 + -0.00422, + 0.06112, + 0.02235 ], [ - 0.04898, - 0.22897, - -0.09357 + 0.01078, + 0.05041, + -0.0206 ], [ - 0.08366, - 0.16582, - -0.20628 + 0.01842, + 0.03651, + -0.04542 ], [ - -0.0561, - 0.15736, - 0.00842 + -0.01235, + 0.03465, + 0.00185 ], [ - -0.05998, - 0.21239, - 0.08044 + -0.01321, + 0.04676, + 0.01771 ], [ - -0.00412, - 0.17085, - -0.04284 + -0.00091, + 0.03762, + -0.00943 ] ], [ [ - -0.03083, - 0.47275, - 0.03406 + -0.00679, + 0.10408, + 0.0075 ], [ - 0.00177, - 0.06985, - -0.06042 + 0.00039, + 0.01538, + -0.0133 ], [ - 0.06615, - 0.29079, - -0.10972 + 0.01456, + 0.06402, + -0.02416 ], [ - -0.06108, - 0.22439, - 0.0947 + -0.01345, + 0.0494, + 0.02085 ], [ - -0.03532, - 0.33844, - 0.01367 + -0.00778, + 0.07451, + 0.00301 ], [ - -0.00828, - 0.212, - -0.0297 + -0.00182, + 0.04668, + -0.00654 ], [ - -0.08824, - 0.11304, - 0.04854 + -0.01943, + 0.02489, + 0.01069 ], [ - 0.07385, - 0.18055, - -0.14856 + 0.01626, + 0.03975, + -0.03271 ], [ - 0.03664, - 0.40041, - -0.08611 + 0.00807, + 0.08816, + -0.01896 ], [ - -0.01505, - 0.13512, - -0.00378 + -0.00331, + 0.02975, + -0.00083 ] ], [] @@ -1525,182 +1527,182 @@ "HairFR_02" ], "tips": [ + [ + -0.0, + 0.12133, + 0.0 + ], [ 0.0, - 0.55107, + 0.02307, -0.0 ], [ 0.0, - 0.10479, + 0.02981, -0.0 ], [ - -0.0, - 0.13542, - -0.0 - ], - [ - -0.0, - 0.13542, + 0.0, + 0.02981, -0.0 ] ], "hulls": [ [ [ - -0.22773, - 0.57374, - -0.07988 + -0.05014, + 0.12632, + -0.01759 ], [ - -0.14383, - 0.01513, - -0.17114 + -0.03167, + 0.00333, + -0.03768 ], [ - -0.21913, - 0.26886, - -0.0285 + -0.04825, + 0.05919, + -0.00628 ], [ - -0.20917, - 0.43746, - -0.01401 + -0.04605, + 0.09631, + -0.00308 ], [ - -0.17564, - 0.13005, - -0.05806 + -0.03867, + 0.02863, + -0.01278 ], [ - -0.25436, - 0.37429, - -0.06218 + -0.056, + 0.08241, + -0.01369 ], [ - -0.2519, - 0.48285, - -0.06932 + -0.05546, + 0.10631, + -0.01526 ], [ - -0.16381, - 0.06859, - -0.10866 + -0.03607, + 0.0151, + -0.02392 ], [ - -0.19981, - 0.52289, - -0.02756 + -0.04399, + 0.11512, + -0.00607 ], [ - -0.21018, - 0.20129, - -0.06548 + -0.04627, + 0.04432, + -0.01442 ] ], [ [ - -0.14258, - 0.06622, - -0.17139 + -0.03139, + 0.01458, + -0.03774 ], [ - -0.10517, - 0.10493, - -0.05584 + -0.02316, + 0.0231, + -0.01229 ], [ - -0.13905, - 0.10378, - -0.1202 + -0.03061, + 0.02285, + -0.02646 ], [ - -0.12305, - 0.05597, - -0.11322 + -0.02709, + 0.01232, + -0.02493 ], [ - -0.13286, - 0.10606, - -0.0828 + -0.02925, + 0.02335, + -0.01823 ], [ - -0.11144, - 0.05903, - -0.14525 + -0.02453, + 0.013, + -0.03198 ], [ - -0.11216, - 0.08875, - -0.11174 + -0.02469, + 0.01954, + -0.0246 ], [ - -0.14278, - 0.08552, - -0.14701 + -0.03143, + 0.01883, + -0.03237 ], [ - -0.14619, - 0.05146, - -0.14732 + -0.03219, + 0.01133, + -0.03244 ], [ - -0.1154, - 0.05833, - -0.17206 + -0.02541, + 0.01284, + -0.03788 ] ], [ [ - -0.11928, - 0.02105, - -0.06213 + -0.02626, + 0.00464, + -0.01368 ], [ - -0.04586, - 0.0355, - 0.0335 + -0.0101, + 0.00782, + 0.00737 ], [ - -0.08188, - 0.02085, - -0.01342 + -0.01803, + 0.00459, + -0.00296 ], [ - -0.09146, - 0.01881, - -0.0456 + -0.02014, + 0.00414, + -0.01004 ], [ - -0.06502, - 0.03461, - 0.00713 + -0.01431, + 0.00762, + 0.00157 ], [ - -0.09942, - 0.02845, - -0.0315 + -0.02189, + 0.00626, + -0.00694 ], [ - -0.10893, - 0.01338, - -0.07424 + -0.02398, + 0.00295, + -0.01635 ], [ - -0.05727, - 0.03238, - 0.01978 + -0.01261, + 0.00713, + 0.00436 ], [ - -0.09448, - 0.01066, - -0.03347 + -0.0208, + 0.00235, + -0.00737 ], [ - -0.10756, - 0.02008, - -0.03659 + -0.02368, + 0.00442, + -0.00806 ] ], [] @@ -1733,48 +1735,49 @@ "colliders": [ { "bone": "Hips", - "child": "Sk_00_00", + "child": "Spine", "from": 0.0, - "radius_head": 0.6216, - "radius_tail": 0.6216, - "radius": 0.6216, + "radius_head": 0.128, + "radius_tail": 0.128, + "radius": 0.128, "lid": true }, { "bone": "Left leg", "child": "Left knee", "from": 0.1, - "radius_head": 0.5183, - "radius_tail": 0.3158, - "radius": 0.3158 + "radius_head": 0.1203, + "radius_tail": 0.0758, + "radius": 0.0758 }, { "bone": "Right leg", "child": "Right knee", "from": 0.1, - "radius_head": 0.519, - "radius_tail": 0.3153, - "radius": 0.3153 + "radius_head": 0.1205, + "radius_tail": 0.0756, + "radius": 0.0756 }, { "bone": "Left knee", "child": "Left ankle", "from": 0.1, - "radius_head": 0.5643, - "radius_tail": 0.5185, - "radius": 0.5185 + "radius_head": 0.1305, + "radius_tail": 0.1204, + "radius": 0.1204 }, { "bone": "Right knee", "child": "Right ankle", "from": 0.1, - "radius_head": 0.5641, - "radius_tail": 0.5187, - "radius": 0.5187 + "radius_head": 0.1304, + "radius_tail": 0.1204, + "radius": 0.1204 } ], "weights_authored": true, "driven_bones": [ + "Chest", "Head", "Hips", "Left ankle", @@ -1800,11 +1803,10 @@ "Root_005", "Root_006", "Root_007", - "Sk_00_00", - "Sk_00_01", - "Sk_00_02", - "Sk_00_03", - "Toes30_L", - "Toes30_R" + "Spine", + "Toes2_R", + "Toes3_L", + "Unused_Noname_004", + "Unused_Noname_010" ] } \ No newline at end of file diff --git a/assets/characters/skins/skins.json b/assets/characters/skins/skins.json index b60f4a8..4029775 100644 --- a/assets/characters/skins/skins.json +++ b/assets/characters/skins/skins.json @@ -41,13 +41,6 @@ "description": "Momo Ayase, DANDADAN (CC-BY, HiGuys920)", "model": "res://assets/characters/skins/momo.glb", "unlocked": true - }, - { - "id": "hikari", - "name": "Hikari", - "description": "School anime girl \u2014 VRoid (CC-BY, hikari)", - "model": "res://assets/characters/skins/hikari.glb", - "unlocked": true } ] } \ No newline at end of file diff --git a/characters/skinned_player_model.gd b/characters/skinned_player_model.gd index 3d054cf..51e9661 100644 --- a/characters/skinned_player_model.gd +++ b/characters/skinned_player_model.gd @@ -922,7 +922,7 @@ func set_weapon(script_path: String) -> void: _measure_weapon(w) ) - var hand_idx := _find_bone(["RightHand", "Hand_R", "hand.R"]) + var hand_idx := _role_bone("hand.R", ["RightHand", "Hand_R", "hand.R"]) if hand_idx >= 0: _weapon_attachment = BoneAttachment3D.new() _weapon_attachment.name = "WeaponAttachment" @@ -995,6 +995,27 @@ func _measure_weapon(w: Node3D) -> void: # ── Helpers ─────────────────────────────────────────────────────────────────── +## A bone by its resolved ROLE, falling back to name matching. +## +## tools/rig_map.py resolves every rig to roles and writes them to the sidecar so +## that nothing downstream has to guess a bone name — but a hardcoded lookup here +## meant four characters could not hold a gun. Their hands resolve perfectly as +## "Right wrist" and "J_Bip_R_Hand"; none of them matches a spelling this file +## knew, so set_weapon fell through to parenting the weapon to the model root at +## a fixed chest offset, where it is not attached to the character at all. +## +## The fallback stays for a model with no sidecar. It must never be the first +## thing tried. +func _role_bone(role: String, fallbacks: Array) -> int: + var roles: Dictionary = _rig_info.get("roles", {}) + var actual := String(roles.get(role, "")) + if actual != "" and skeleton: + var b := skeleton.find_bone(actual) + if b >= 0: + return b + return _find_bone(fallbacks) + + func _find_bone(name_parts: Array) -> int: if not skeleton: return -1 diff --git a/tools/retarget.py b/tools/retarget.py index 1e07550..aa96ef1 100644 --- a/tools/retarget.py +++ b/tools/retarget.py @@ -335,7 +335,7 @@ def rebuild_hierarchy(arm, roles): # ----------------------------------------------------------------- normalize -def flatten_and_scale(arm, meshes, target_height): +def flatten_and_scale(arm, meshes, target_height, roles=None): """Bake the import hierarchy away and set the character's real-world size. Sketchfab wraps everything in scaled/rotated empties. Left in place they @@ -363,6 +363,56 @@ def flatten_and_scale(arm, meshes, target_height): apply_all() + # STAND THE CHARACTER UP before measuring anything. + # + # The scale below normalises the bounding box along Z because Z is up in + # Blender. For a model that arrives lying along another axis that measures + # the character's THICKNESS — about 0.25 m — so it gets scaled by ~7 and left + # on its back. One assumption, both symptoms, and invisible afterwards + # because the exporter maps Blender Z to glTF Y: "is the height 1.75" comes + # out true on a character who is 7.5 m tall lying down. + # + # Which way is up is not a convention to assume, it is a property of the + # skeleton: the head is above the hips. Snapped to the nearest axis rather + # than aligned exactly, so a character with a slight lean in their rest pose + # is stood up, not straightened. + # Measured from the FEET to the HIPS, not from the hips to the head. + # + # The head is not a reliable landmark. The spine walk ends on whatever the + # last non-cosmetic bone in the chain is, and on a rig with a facial skeleton + # that can be a bone sitting BELOW the hips — which points this vector + # downwards and stands the character neatly on her head. Momo did exactly + # that. Feet cannot be mistaken: they are the bottom of a standing character + # on every rig, and foot.L/R resolve on every source met so far. + if roles is not None and roles.hips: + hips_b = arm.data.bones.get(roles.hips) + feet = [arm.data.bones.get(roles.limb.get(("foot", s), "")) + for s in ("L", "R")] + feet = [f for f in feet if f] + ref = None + if feet: + ref = sum((f.head_local for f in feet), Vector()) / len(feet) + elif roles.head and arm.data.bones.get(roles.head): + # No feet — fall back to the head, and accept the risk above. + ref = hips_b.head_local - ( + arm.data.bones[roles.head].head_local - hips_b.head_local) + if hips_b and ref is not None: + d = hips_b.head_local - ref + k = max(range(3), key=lambda i: abs(d[i])) + src = Vector((0.0, 0.0, 0.0)) + src[k] = 1.0 if d[k] > 0 else -1.0 + up = Vector((0.0, 0.0, 1.0)) + if src.dot(up) < 0.999: + axis = src.cross(up) + if axis.length < 1e-6: + axis = Vector((1.0, 0.0, 0.0)) # upside down + R = Matrix.Rotation(src.angle(up), 4, axis.normalized()) + for obj in [arm] + meshes: + obj.matrix_world = R @ obj.matrix_world + apply_all() + print(f"Stood the character up: feet->hips ran along " + f"{'XYZ'[k]}{'+' if d[k] > 0 else '-'}, rotated to Z+") + lo = Vector((1e9, 1e9, 1e9)) hi = -lo.copy() for m in meshes: @@ -1047,7 +1097,7 @@ def main(): rebuild_hierarchy(arm, roles) subdivide_cloth_panels(arm, meshes, roles) unbind_cloth_from_legs(arm, meshes, roles) - flatten_and_scale(arm, meshes, TARGET_HEIGHT) + flatten_and_scale(arm, meshes, TARGET_HEIGHT, roles) fix_unlit_materials(meshes) roles = RigRoles(arm) # rest positions moved; re-read