BoneDynamics Pro is a blender addon that allows you to add physics to bones.
A free lite version is available on gumroad. Go check it out !
Nb: The addon used to create a collision cage in the ninja sequence is not included, it will be called simplicage, and it will be available soon on blendermarket.
Thanks
Link: