Beg-in / vue-babylonjs

A ready-to-go 3d environment for Vue.js using Babylon.js
https://vuebabylonjs.com
MIT License
462 stars 73 forks source link

loop and mode in animation component not working? #15

Open Nodragem opened 6 years ago

Nodragem commented 6 years ago

Hello,

I tried vue-babylonjs animation component yesterday and when I changed the mode to constant or/and the loop to false, it does not seem to stop the animation loop...

Anybody experienced the same problem?

BrainBacon commented 6 years ago

Hmm, I can definitely look into this. It's possible that a stop method has to be called on the animation instead of just mutating a property of the animation. I won't be able to do that until later this week though since I'm on a trip at the moment. You are more than welcome to look at src/animation/index.js for implementation details in the meantime and see if you can spot the bug.