So Ive been surfing around and trying hundreds methods, anything that came up to my mind but I simply can not make my attacking animation collide to enemy.
I have the walking animations and fighting animations. I need only fighting animations(fists) to count as attacks and subtract the enemy health.
You need to check when colliding:
Player collide with enemy
Is playing animation "Fist"
Animation Frame = X(the frame when player attack with fist)
Develop games in your browser. Powerful, performant & highly capable.
Thank you very much. I will try the next animations I plan to add with this method and see its efficiency.
How ever I managed to do it through adding bullet behavior to invisible objects and trigger on animation finish/end. Works good tho it's a loot more to do.
Once again thank you for your reply.