Hito_T-san
Hello, we have reviewed the data you provided with our development team.
In the project you submitted, there were two major issues:
-
When the attack animation (08_G_attack1) is triggered, the
monitoringproperty of AttackArea2D is turned off.
Whenmonitoringis off, the node stops monitoring its own behavior, causing it to stop functioning. -
The collision layer and mask settings are incorrect.
If you only need to fix this specific issue, changing the enemy’s HitArea2D to “Layer 2: Mask 3” and the player’s AttackArea2D to “Layer 3: Mask 2” will make it work.
For more information on the concepts of collision layers and masks, please refer to the following article: