Hey gang!
I have a health and damage system that takes individual body parts in to account. Currently it works with incoming attacks and has effects on walk speed/attack speed/etc etc. Fantastic!
My current predicament is trying to calculate fall damage when a character is in a ragdoll state - currently if a character is hit too hard in the head or falls from a ledge while staggered by a kick, they ragdoll. When in a ragdoll state, I move the capsule to the pelvis of the mesh each tick and they can get back up without a problem yada yada ya it all works great. BUT, I can’t think of any way to calculate fall damage, let alone for individual parts of the body. When ragdolling, the usual “is falling” bools don’t trigger as it’s no longer using the CharacterMovement component.
The only thing that is ringing any bells for me is the “On Component Hit” event but I have 0 idea where to start.
Anyone got any ideas?