Character and raycasts

Hi

So i have this little setup with a main character and a zombie.
The main character holds a gun, which creates a raycast when shooting.
now the raycast doesn’t hit the zombie. I tried adding a mesh collider, but this collider doesn’t follow along with the animations, it just holds it’s T position.

What would be the best way to detect the hit( and i prefer different hit areas ofcourse, like headshot does more damage then a shot in an arm or chest)

The characters where made with Mixamo.
And i can’t find any tutorial which explains this to me.

Thank you

You could add different kindes of colliders to the body part, according to their shape, example to the head a sphere collider, body cube, etc. it helps with detecting head and armshots too.