Mugen87 / three-m2loader

three.js loader for importing M2 assets from World of Warcraft.
MIT License
25 stars 8 forks source link

How to reliably detect static/animated models? #5

Open Mugen87 opened 2 years ago

Mugen87 commented 2 years ago

It would be good to know if there is an intended way to detect whether an object is animated or not. Right now, M2Loader counts the number of bones although this approach is not robust.

https://github.com/Mugen87/three-m2loader/blob/e71c7760f5b19c828a2befc0eaf8781db888d91d/M2Loader.js#L394-L397