jscastro76 / threebox

A Three.js plugin for Mapbox GL JS, with support for animations and advanced 3D rendering.
Other
550 stars 145 forks source link

condition to play 1st animation at index 0 #364

Open hqnghi88 opened 2 years ago

hqnghi88 commented 2 years ago

When setting the index for animation in glb file, i cant use the animation at index 0 because the condition is checking only the value > 0 (as true). So i think we should change a bit that if statement. What do you think? Best regards.