Hi,
I'd like to detect the melee attack from my player when the attack enemy. I found 2 solutions:
- Add collider to the weapon (sword for example) and detect Trigger Event between the weapon and enemy. (I don't know how to add the collider to the weapon yet)
- Add Animation event in the key frame that the attack was finished --> Send to Player Model FSM --> Continue to send to Enemy FSM
Which one is better? And is there any better solution?
Thanks,
Anh