How to Stop Damaging my self

Am creating action-adventure game, but I Have a problem my character is hitting himself when using his sword to attack the enemas.

Hey @Alkaseeh!

Can you be more specific? Is the character damaging themselves or is the weapon colliding with the player?

I think the weapon damaging the character. Because when I use weapon like great sword everything is fine but switching weapon to one hand and off hand the character start taking damage when perform the attack move.

OK!

Can you show me your damage code?

Also what is BP Right Foot? Should there be other feet/arms/etc to add? Try using print strings to check your variables going into the functions! :slight_smile:

You can create a Channel in Project Settings and tell to sword to ignore your pawn…

it works for me

Maybe you can add a query of collision if the hitted Actor was self

This can also help.
You can check that the instigator is not yourself in the OnHit event.

Is another option…