The skeleton of your character forms a hierarchy, and you can insert and append other objects to that hierarchy, and when the skeleton plays its animation these objects will follow the bones that they are attached to. In most engines you can modify this hierarchy dynamically, with programming. In Unity, for example, you…