Import a 3D Model and automatically assign and export animations
TypeScript
Allow zooming in more. Allow skeleton to shrink more
Scott Petrovic8435bb2f4c7a
diff --git a/src/Mesh2MotionEngine.ts b/src/Mesh2MotionEngine.tsindex 00be139..8708a6a 100644--- a/src/Mesh2MotionEngine.ts+++ b/src/Mesh2MotionEngine.ts@@ -132,7 +132,7 @@ export class Mesh2MotionEngine {this.controls.target.set(0, 0.9, 0)// Set zoom limits to prevent excessive zooming in or out- this.controls.minDistance = 2 // Minimum zoom (closest to model)+ this.controls.minDistance = 0.5 // Minimum zoom (closest to model)this.controls.maxDistance = 30 // Maximum zoom (farthest from model)this.controls.update()diff --git a/src/create.html b/src/create.htmlindex 703ec40..254f968 100644--- a/src/create.html+++ b/src/create.html@@ -172,7 +172,7 @@</div><div style="display: flex; flex-direction: row; gap: 1rem; justify-content: flex-start; align-items: center;"><span id="scale-skeleton-percentage-display">100%</span>- <input id="scale-skeleton-input" style="flex-grow: 1;" type="range" min=".20" max="1.80" value="1.0" step="0.01" />+ <input id="scale-skeleton-input" style="flex-grow: 1;" type="range" min=".10" max="2.00" value="1.0" step="0.01" /></div></div>