First, sorry for the title of the post, it was to complicated to come up with a better one.
My problem, in my shooter project, im trying to do when the character shoots the ai in the head, to make a headshot. Im doing this checking the bone of the mesh on the impact (throug a line trace by channel), if it is the head, then it is a headshot.
My main issue that i dont really know how to setup the collision of the capsule and the mesh of the ai. Sometimes if i keep shoting, i get a headshot, but even shoting to the ai all the time to the head, i barely get one or two headshots, what makes me think that the collision is not setup correctly.
I have the projectiles to ignore only the weapon channel (a custom channel i created for projectiles) and everything else to block. The capsule of the ai is set to block everything, except ai projectiles that i marked with a “enemy” channel. And so on.
I will try to post a screenshot when i get home. But thats the general idea. Thanks in advance.
Tried everything so far.