Skip to content

Import a 3D Model and automatically assign and export animations

TypeScript

start adding motion capture human animations

Scott Petrovic3ce7f9d97d25
diff --git a/src/lib/RigConfig.ts b/src/lib/RigConfig.ts
index ad8b6ac..20204e5 100644
--- a/src/lib/RigConfig.ts
+++ b/src/lib/RigConfig.ts
@@ -29,7 +29,11 @@ export class RigConfig {
model_file: 'models/model-human.glb',
rig_file: 'rigs/rig-human.glb',
rig_display_name: 'Human',
- animation_files: ['../animations/human-base-animations.glb', '../animations/human-addon-animations.glb'],
+ animation_files: [
+ '../animations/human-base-animations.glb',
+ '../animations/human-addon-animations.glb',
+ '../animations/human-mocap-animations.glb'
+ ],
animation_preview_folder: 'human',
position_tracking_bone_name: 'pelvis',
skeleton_template_image_url: 'rigs/reference/human.png',
diff --git a/static/animations/human-mocap-animations.glb b/static/animations/human-mocap-animations.glb
new file mode 100644
index 0000000..f9ab473
Binary files /dev/null and b/static/animations/human-mocap-animations.glb differ