Crauzer / lol2gltf

Convert between League of Legends mesh formats and the glTF runtime format
GNU General Public License v3.0
136 stars 20 forks source link

Broken animations #27

Closed APPenchev closed 1 year ago

APPenchev commented 1 year ago

I successfully exported the Renekton skin, but now there are issues with some of the animations when I imported them into blender. Someting i've noticed is that they are the same animations that also used to crash version 2.0.0 when being loaded in the UI verison #11 before it was fixed in 3.0.0 beta 4.

the "attack_1" animation works completely fine. renecbug3

the "idle_1" animation looks... interesting renecbug4

Crauzer commented 1 year ago

I'm pretty sure I know what causes the issue but it is not related to the renekton animation files. I think you'll encounter this with compressed animations which are used for exporting more than once. So if you export 2+ gltf files with the same loaded animation instance, it'll be bugged. It should work correctly when you export only once.

https://user-images.githubusercontent.com/18646077/217109912-9e6754cb-730e-4915-b490-e3ca884bdf80.mp4

APPenchev commented 1 year ago

Yes, that fixed the issue. Thanks, once again.

Crauzer commented 1 year ago

https://github.com/LeagueToolkit/LeagueToolkit/issues/239