JannisX11 / blockbench

Blockbench - A low poly 3D model editor
https://www.blockbench.net
GNU General Public License v3.0
3.06k stars 272 forks source link

Animations not exporting/all animations are the same in GLTF Format #2221

Open Weird03 opened 4 months ago

Weird03 commented 4 months ago

What are you trying to do, and what do you expect to happen?

I'm trying to export 3 different animations into Roblox (No, roblox is not the issue, I also tried importing into blender and same issue). I have 3 Animations:

  1. Walking
  2. Flashlight Walking
  3. Idle

When making this model, the first animation I made failed, so I deleted it and made a new one which is a lot better. Here's what it looks like half way through the animation (if you need a video, please let me know): image Here's the flashlight: image and Idle: image

Now when exported and imported into Blender (i'm not using roblox for this example) Exporting Settings: image

What happens instead?

This is what happens in blender:

Here is the walking animaton (blender): image Here is the Flashlight animations in blender: image And here is the idle: image

The issue is that the Animations are not fully exporting, and the animation is about half the length. The reason I mentioned the early animation I made earlier is because that's what it looked like, the legs went up a lot higher. So sorry in advance if I made this confusing. Thanks for the help.

Model format in which the issue occurs

Generic

Blockbench variant

Program

Blockbench version

4.9.4

Operating System

Windows 10

Installed Blockbench plugins

CEM Template Loader

JannisX11 commented 3 months ago

Could you attach the affected bbmodel file please?

Weird03 commented 3 months ago

https://www.dropbox.com/scl/fi/mvkh5z5uf3kc3pohg14v3/Character.bbmodel?rlkey=b0z5o5rdv49i8l5bvy8uirdn9&dl=1

JannisX11 commented 2 months ago

It seems to be working fine on my end. Here is the exported file, and it's playing correctly in 3D Viewer and Blender. Character.gltf.zip One issue might have been related to the export pose. You can avoid this by always exporting while in Edit mode. The issue is also fixed in the upcoming 4.10 update. Let if know if there are still any issues remaining!