Added appropriate groups and checked for hitbox-likeness

This commit is contained in:
Paul Norberger
2020-04-20 01:12:15 +02:00
parent 61dcd42dc6
commit 0daf9090eb
4 changed files with 23 additions and 14 deletions

View File

@@ -2,7 +2,9 @@
[ext_resource path="res://Overlap/HurtHit_Box/Hitbox.gd" type="Script" id=1]
[node name="Hitbox" type="Area2D"]
[node name="Hitbox" type="Area2D" groups=[
"hitbox",
]]
script = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]