When you import a scene to Godot that has multiple animated objects, Godot creates a single AnimationPlayer containing all of those animations. This can be an issue if you want them to play back together, as AnimationPlayers can only play one animation at a time.
This script will make your scene import with an individual animation player for each individual animation. This way, you can play all of the animations together.
- Save this script somewhere in your project
- Select your imported scene.
- Click the "Import" tab next to the "Scene" tab.
- Click "Advanced" in the bottom left.
- A window will pop up. Towards the bottom of the right hand side panel, there is an "Import Script" property.
- Load this script into it.
- Hit "Reimport"
- Profit???