Skip to content

Commit b1b0ad9

Browse files
committed
Fix projectile collision
1 parent 8a40ea4 commit b1b0ad9

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

game/projectile/projectile.tscn

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@
44
[ext_resource type="Script" uid="uid://oghk0ir2n3ci" path="res://game/projectile/projectile.gd" id="1_08h31"]
55
[ext_resource type="Texture2D" uid="uid://c75370j5g1r0b" path="res://game/projectile/projectile_data/projectiles/simple_bullet/simple_bullet.svg" id="2_08h31"]
66

7-
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_cpvyg"]
8-
resource_local_to_scene = true
9-
radius = 5.0
10-
height = 10.0
7+
[sub_resource type="CircleShape2D" id="CircleShape2D_08h31"]
8+
radius = 8.0
119

1210
[node name="Projectile" type="Node2D" unique_id=865771493]
1311
script = ExtResource("1_08h31")
@@ -19,6 +17,6 @@ texture = ExtResource("2_08h31")
1917
unique_name_in_owner = true
2018

2119
[node name="CollisionShape2D" parent="Hitbox2D" index="0" unique_id=1055038057]
22-
shape = SubResource("CapsuleShape2D_cpvyg")
20+
shape = SubResource("CircleShape2D_08h31")
2321

2422
[editable path="Hitbox2D"]

0 commit comments

Comments
 (0)