Enemy Hit Reaction is Inconsistent

Tester115

Member
Hello,

During some testing in my project, I noticed that the enemy character I have set up will not always react to my first-person sword stabs. Sometimes, when I attack an enemy, it will initially react to the blow, but when I swap to magic cast a spell, swap to body and punch, and then go back to sword, the enemy will no longer react to sword attacks or seem to even register the collision. What could be the issue here?

I have also uploaded a video showing this issue in action.

 
I would start debugging this by placing a breakpoint within Health.Damage and seeing if the method is called. If it's not called then you'll need to adjust your collider.
 
I would start debugging this by placing a breakpoint within Health.Damage and seeing if the method is called. If it's not called then you'll need to adjust your collider.
I believe I have figured out the issue. It involved a custom script that I was working with.
 
Top