Godot Version
Godot_v4.3-stable_mono_win64
Question
so i’ve setup an animation player as well as an animation and they work just fine except i don’t have any (good) ideas on how to make the hitboxes appear when my ennemy attacks.
right now my animation player looks like this :
my idea was that the hitbox would spawn on the frame i’ve shown in the image so that it’s nicely optimized however i can’t find any way or documentation on how to do that.
alternatively i thought of creating a hitbox that’s already there but inactive (in my case the skeletton cannot hurt the player by contact but only by attacking) and shape it to the attack but i’m not too sure if that’s the best way to do it and lastly i thought of just making 4 different hitboxes that already cover the shape of the attack and activate whenever the attack frame is the current frame but that also sounds like an inneficient mess so i’d like to avoid doing that
a quick recap to everything above would be : how to make an attack hitbox with the animation player (i don’t mind doing it another way if it’s better)