HI I am new to corona sdk and game dev. at the moment I am doing some learning on sticker knight example.
Wanted to ask how to implement attack physic and collision
I have added an attack animation in the sprite and I am having trouble changing the physics body during the attack animation, the *hand* punch outside of the initially defined physic body size and it doesn't do anything at the moment , does anyone know a good way to implement collision event while the hand is punching
I have tried moving instance anchorX during the attack animation so that it will bump into the enemy* but it get jumpy and I don't think it's a good idea.
working example code that I can reference would be nice
Please advice, Thank you