From 7878e4bd142659652f708c90a07d1908f77fbd38 Mon Sep 17 00:00:00 2001 From: yuki Date: Tue, 18 Nov 2025 13:31:18 -0300 Subject: [PATCH] tweak hit collision --- scenes/hit/small_hit.tscn | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scenes/hit/small_hit.tscn b/scenes/hit/small_hit.tscn index cee40e8..5320881 100644 --- a/scenes/hit/small_hit.tscn +++ b/scenes/hit/small_hit.tscn @@ -4,8 +4,8 @@ [ext_resource type="Texture2D" uid="uid://c6a62gvw7218s" path="res://scenes/hit/assets/hit.png" id="1_rmj1p"] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_fxeki"] -radius = 11.0 -height = 24.0 +radius = 15.0 +height = 34.0 [node name="SmallHit2D" type="Area2D" groups=["hit"]] collision_layer = 64 @@ -15,8 +15,7 @@ metadata/_custom_type_script = "uid://b440ri3521uio" metadata/power_hit = false [node name="CollisionShape2D" type="CollisionShape2D" parent="."] -position = Vector2(4, 1) -rotation = 1.5707964 +position = Vector2(1, 6) shape = SubResource("CapsuleShape2D_fxeki") debug_color = Color(0.6205005, 0.42311785, 0.8432588, 0.41960785)