THIS IS ENEMY
https://imgur.com/a/kNImvXx
I have another character and throw punch like that...
https://imgur.com/a/5iVQjR7
The problem is i already set health ready func but how can i implement hitbox
and give damage from player to enemy. For example jab give 5 damage and take from enemy's health etc.
How can i build this algorithm any instructions out there or documentation ?
func _ready():
var health = 30
# Called when the node is added to the scene for the first time.
# Initialization here
pass
Thanks for answers...