Hello,
I was looking for some AI tutorials nut the most of them where pretty useless so I tried myself.
At first I want just a shootable NPC. I managed it by adding to 'Hitboxes' (Sphere and Capsule Component) add an Event on Hit and change the Health variable.
The Problem is the it's not working everytime. The head hitbox works great everytime, the body hitbox works sometimes from the front but never from the sides and the back.
If I'm workin with only 1 hitbox it's working everytime (like the head hitbox). The question is why is this happening and how is the best way to deal damage by a projectile?

Thank you!
I was looking for some AI tutorials nut the most of them where pretty useless so I tried myself.
At first I want just a shootable NPC. I managed it by adding to 'Hitboxes' (Sphere and Capsule Component) add an Event on Hit and change the Health variable.
The Problem is the it's not working everytime. The head hitbox works great everytime, the body hitbox works sometimes from the front but never from the sides and the back.
If I'm workin with only 1 hitbox it's working everytime (like the head hitbox). The question is why is this happening and how is the best way to deal damage by a projectile?
Thank you!
Comment