Adjust “Attack Hitbox” and “Collision Hitbox”.
Adjust the size of the HitCollision if it is too large. Furthermore, since the main body’s attack hitbox is not needed in this style, feel free to delete it outright. (We will handle it if using melee attacks, but we are not creating melee attacks this time.)
-
Select HitCollision.
-
Drag the corners to adjust it to be slightly larger than the wall collision.
-
Right-click on AttackArea2D.
-
At the bottom of the menu, there is a “Delete” option, so select “Delete”.
- A window will appear asking “Do you want to delete AttackArea2D and its child nodes?” Press OK. This will delete AttackArea2D and its child node, AttackCollision.



