tweak hit collision

This commit is contained in:
yuki 2025-11-18 13:31:18 -03:00
parent af28d94448
commit 7878e4bd14

View file

@ -4,8 +4,8 @@
[ext_resource type="Texture2D" uid="uid://c6a62gvw7218s" path="res://scenes/hit/assets/hit.png" id="1_rmj1p"] [ext_resource type="Texture2D" uid="uid://c6a62gvw7218s" path="res://scenes/hit/assets/hit.png" id="1_rmj1p"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_fxeki"] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_fxeki"]
radius = 11.0 radius = 15.0
height = 24.0 height = 34.0
[node name="SmallHit2D" type="Area2D" groups=["hit"]] [node name="SmallHit2D" type="Area2D" groups=["hit"]]
collision_layer = 64 collision_layer = 64
@ -15,8 +15,7 @@ metadata/_custom_type_script = "uid://b440ri3521uio"
metadata/power_hit = false metadata/power_hit = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="."] [node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(4, 1) position = Vector2(1, 6)
rotation = 1.5707964
shape = SubResource("CapsuleShape2D_fxeki") shape = SubResource("CapsuleShape2D_fxeki")
debug_color = Color(0.6205005, 0.42311785, 0.8432588, 0.41960785) debug_color = Color(0.6205005, 0.42311785, 0.8432588, 0.41960785)