Animating 2 characters together

Godot 4.2.2

What is the best way to animate 2 characters together? I’m creating a character like Banjo-Kazooie or Jak and Dakter, I have one character piggy-backing on another. How would I keep them together and animated? I’ve created my 2 characters and have started learning how to animate them.

I’m new to animation and I don’t know what I’m looking for. How is that usually done? Do I just create 2 separate animations and make sure that they are always synchronized and in alignment with each other? I figured it would be similar to animating a horse and a rider together and separated, but so far I have not had much luck finding help on how to do this.

I think I found part of my solution. I need to use Skeleton and BoneAttachment to attach one character to another and detach when I want them separated. But what do I do about the animations when together? Do I just need to make sure that the animations are synchronized making sure that they are the same length and at the same rate?