Import a 3D Model and automatically assign and export animations
TypeScript
Add function to rotate model along Z axis that I forgot
Scott Petrovic69f70c1e1b0d
diff --git a/src/lib/EventListeners.ts b/src/lib/EventListeners.tsindex 269a443..381f828 100644--- a/src/lib/EventListeners.ts+++ b/src/lib/EventListeners.ts@@ -61,6 +61,9 @@ export class EventListeners {this.bootstrap.load_model_step.rotate_model_by_axis('y', 90)})+ this.bootstrap.ui.dom_rotate_model_z_button?.addEventListener('click', () => {+ this.bootstrap.load_model_step.rotate_model_by_axis('z', 90)+ })this.bootstrap.ui.dom_show_skeleton_checkbox?.addEventListener('click', (event: MouseEvent) => {if (this.bootstrap.skeleton_helper !== undefined) {this.bootstrap.skeleton_helper.visible = event.target.checked