parent
4e042386f7
commit
7cb7946584
4 changed files with 14 additions and 2 deletions
|
@ -33,9 +33,11 @@ shape = SubResource( 2 )
|
|||
[node name="Hitbox" type="Area2D" parent="." groups=["squash"]]
|
||||
position = Vector2( -1, 0 )
|
||||
collision_layer = 5
|
||||
collision_mask = 33
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"]
|
||||
position = Vector2( 5, 4 )
|
||||
shape = SubResource( 3 )
|
||||
|
||||
[connection signal="area_entered" from="Hitbox" to="." method="_on_Hitbox_area_entered"]
|
||||
[connection signal="body_entered" from="Hitbox" to="." method="_on_Hitbox_body_entered"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue