modify power hit collision
This commit is contained in:
parent
6f235f99b9
commit
8351708490
1 changed files with 4 additions and 3 deletions
|
|
@ -3,8 +3,9 @@
|
|||
[ext_resource type="Script" uid="uid://b440ri3521uio" path="res://scenes/classes/hit.gd" id="1_kwsj5"]
|
||||
[ext_resource type="Texture2D" uid="uid://c6a62gvw7218s" path="res://scenes/hit/assets/hit.png" id="2_kwsj5"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_g005q"]
|
||||
radius = 35.014282
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_kwsj5"]
|
||||
radius = 30.0
|
||||
height = 70.0
|
||||
|
||||
[node name="PowerHit2D" type="Area2D" groups=["hit"]]
|
||||
collision_layer = 64
|
||||
|
|
@ -16,7 +17,7 @@ metadata/power_hit = true
|
|||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
rotation = 1.5707964
|
||||
shape = SubResource("CircleShape2D_g005q")
|
||||
shape = SubResource("CapsuleShape2D_kwsj5")
|
||||
debug_color = Color(0.6205005, 0.42311785, 0.8432588, 0.41960785)
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue