0
$\begingroup$

I've created a simple model with animation following this tuto: https://www.youtube.com/watch?v=hqJK4JxOZJs

but when I exported this into gltf + bin + texture, I can't find the animations field in the .gltf file.

when I exported the model the animations is already checked and i checked the Apply Modifiers.

am I missing something?

I want a gltf file that contains something like that but generated with blender

"animations": [
    {
      "channels": [
        {
          "sampler": 0,
          "target": {
            "node": 0,
            "path": "weights"
          }
        }
      ],
      "samplers": [
        {
          "input": 10,
          "interpolation": "LINEAR",
          "output": 11
        }
      ],
      "name": "Square"
    }
  ]

thank you

$\endgroup$
4
  • $\begingroup$ Can this link help you? docs.blender.org/manual/en/2.80/addons/io_scene_gltf2.html See if "glTF Separate (.gltf + .bin + textures)" help you in the link above. $\endgroup$
    – 8N Films
    Commented Apr 5, 2021 at 11:37
  • $\begingroup$ Try selecting to sphere and picking Object > Animation > Bake Action from the 3D View. $\endgroup$
    – scurest
    Commented Apr 5, 2021 at 13:09
  • $\begingroup$ @8NFilms, yes i've already took a look but can't help me to extract the animations $\endgroup$
    – Gamer
    Commented Apr 5, 2021 at 13:15
  • $\begingroup$ @scurest I did it $\endgroup$
    – Gamer
    Commented Apr 5, 2021 at 13:15

0

You must log in to answer this question.

Browse other questions tagged .