Skip to content

Import a 3D Model and automatically assign and export animations

TypeScript

Update horse rig

Scott Petrovic246d0b88eef5
diff --git a/src/lib/solvers/BoneClassifier.ts b/src/lib/solvers/BoneClassifier.ts
index 23806a4..8571ade 100644
--- a/src/lib/solvers/BoneClassifier.ts
+++ b/src/lib/solvers/BoneClassifier.ts
@@ -87,7 +87,7 @@ export class BoneClassifier {
const limb_keywords = [
'arm', 'upperarm', 'lowerarm', 'forearm', 'elbow', 'wrist', 'nose',
'shoulder', 'clavicle', 'ankle', 'fin', 'head', 'chin', 'jaw', 'mouth',
- 'thigh', 'calf', 'shin', 'knee', 'leg', 'upleg', 'lowleg', 'neck'
+ 'thigh', 'calf', 'shin', 'knee', 'leg', 'upleg', 'lowleg', 'neck', 'humerus'
]
if (limb_keywords.some(kw => name.includes(kw))) {
return BoneCategory.Limb
@@ -98,7 +98,7 @@ export class BoneClassifier {
// to give them more smoothing since they aren't as rigid
const torso_keywords = [
'spine', 'chest', 'hips', 'pelvis', 'torso', 'abdomen', 'body',
- 'tail', 'stomach', 'collar'
+ 'tail', 'stomach', 'collar', 'scapula', 'ribcage'
]
if (torso_keywords.some(kw => name.includes(kw))) {
return BoneCategory.Torso
diff --git a/static/animations/horse-animations.glb b/static/animations/horse-animations.glb
index e65d465..a7b1eb2 100644
Binary files a/static/animations/horse-animations.glb and b/static/animations/horse-animations.glb differ
diff --git a/static/rigs/rig-horse.glb b/static/rigs/rig-horse.glb
index 775b74e..a4c5ea5 100644
Binary files a/static/rigs/rig-horse.glb and b/static/rigs/rig-horse.glb differ