Apply damage on capsule overlap being done multiple times

anonymous_user_2ca937ac
Wed, 16 Sep 2015 20:12:35 +0000
Community & Industry Discussion

I’m trying to get melee attacks to work properly. It’s doing damage but rather than applying it once per hit it’s doing so anywhere between 2 and several times each swing.

If I’m moving foward as it happens it seems to do it more. If I stand still and punch it will apply two or three times depending on the distance to the other character. If I’m running into her and punching, it shows up 7-8 times.

Is my melee system.

Is the OnComponentOverlap

is the other characters take damage.

I have to two collision capsule’s. Once on each hand of the mesh. They are quite small.

It was still doing damage multiple times so I tried a few things, one being an anim_notify that enabled and disabled the capsule collision. Seemed to have no effect.

The hand capsule’s are both set to “No Collision” enabled at the start. It’s called through during an animation and then disabled. I’ve tried lowering the amount of time between enable and disable in the anim_notify’s by bringing them together but it makes no different.

I’m not sure what the problem is.

4 posts - 1 participant