I have a simple character skeleton (human).
The character skeleton has bones - torso, arms, legs. The simplest skeleton.
The weapon bone is attached to the character's wrist. A cell with a weapon is placed in this bone.
This is how the character holds the weapon.
When the character raises his hand, the shoulder bone affects the forearm bone, which affects the wrist bone, which affects the weapon bone (connected bones). The character raises his hand with the weapon.
When the character dies, he falls. The fall animation changes the position of the skeleton, bones, the character can rotate his arms, etc.
But the weapon must fall out of the character's hand and fall separately from him (he unclenched his wrist
and dropped the weapon). But the bones are connected. Which makes it impossible for the weapon to fall separately. Otherwise, you will have to set each frame for the weapon bone, which is absurd.
In almost any death animation, the weapon falls out of the hands.
How can this problem be solved?
PS
It would be great if in animation it was possible to reassign the hierarchy of bones or set a bone parameter - not to depend on the parent bone.