Hi,
i have simple setup where player swings his sword at enemy. Sword has collision capsule that triggers event OnBeginOverlap.
Problem is, by the time animation moves sword trough enemy's body, i get 4 or more trigger events OnBeginOverlap which applies damage multiple times on one swing. My attempt to use DoOnce makes no difference. Is there a way how to make it so it deals on one 'dose' of damage per swing? I would prefer not to be time based as different attacks have different animation speeds.
Thank you,
H.
here is my simple setup
i have simple setup where player swings his sword at enemy. Sword has collision capsule that triggers event OnBeginOverlap.
Problem is, by the time animation moves sword trough enemy's body, i get 4 or more trigger events OnBeginOverlap which applies damage multiple times on one swing. My attempt to use DoOnce makes no difference. Is there a way how to make it so it deals on one 'dose' of damage per swing? I would prefer not to be time based as different attacks have different animation speeds.
Thank you,
H.
here is my simple setup

Comment