Hit stop

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:

  1. When the attack animation (08_G_attack1) is triggered, the monitoring property of AttackArea2D is turned off.
    When monitoring is off, the node stops monitoring its own behavior, causing it to stop functioning.

  2. 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:

    マニュアル: 衝突の設定CollisionLayerとCollisionMask