1
$\begingroup$

I'm creating object animations in Blender and exporting the objects as gltf models before importing them with @react-three/drei to my development react project. There is however a big deviation between the number of animations I create in Blender and the number of animations loaded to the gltf object as I access it through threejs.

Below are two screenshots, the first displaying the four animations I created in Blender, and the other showing the myriad of other animations that latched onto the object as I exported it and opened it in the browser inspector tool.

How do I erase these animations in blender before export?

enter image description here

enter image description here

$\endgroup$
1
  • $\begingroup$ If you delete all animations in your file and disable animation export and still get animations in your gltf, there is a problem. Could you share your blend file on Blend-Exchange and edit your post to insert the link please? So that we can check what's going on. $\endgroup$
    – Lauloque
    Commented Jul 26, 2023 at 21:03

1 Answer 1

0
$\begingroup$

Each and all animations are contained in "actions". To delete all animations easily from one place, you can delete all actions from the outliner.

First set your Outliner display mode to Blender File:

enter image description here

Then, hold ⇧ Shift and click the first and last element in the actions' category to select them all. RMB RMB > Delete.

$\endgroup$
4
  • $\begingroup$ under the action tab only the animations that is already defined appears, i.e., the spiral, cube, plane, cylinder etc. animations are not accessible through this tab $\endgroup$
    – kib
    Commented Jul 26, 2023 at 13:13
  • $\begingroup$ Not sure what you mean there. All animations in Blender are stored in Actions afaik. Have you tried disabling animation export in the gltf export options? $\endgroup$
    – Lauloque
    Commented Jul 26, 2023 at 13:57
  • $\begingroup$ Or if there is only one you want to export, disable "export all armature actions" i guess $\endgroup$
    – Lauloque
    Commented Jul 26, 2023 at 14:03
  • $\begingroup$ neither of these two options helped. In my perception it must be the auto keyframe function that creates all these unwanted animations and this is annoying af $\endgroup$
    – kib
    Commented Jul 26, 2023 at 20:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .