I am working on the ‘Ragdoll On Death’ part of the tutorial.
I have completed it twice now and end up with the same result.
Before starting the tutorial, I confirmed the Enemy can hit and knockback the player, and that the player can hit and knockback the enemy.
When I have finished the tutorial, the player can hit and knockback the enemy and the enemy becomes a ragdoll.
But when the Enemy tries to hit the player, the enemy is not hitting the player at all, its like his sword just goes through the player.
I haven’t been able to find where the problem is, and am hoping someone can help.
I have copied all the code from the commit to rule out any typos/errors that I may have made.
Here is the Player Inspector:
Here is the Enemy Inspector:
Hopefully someone can see what i have done wrong.
Thanks
Al