tweak hit collision
This commit is contained in:
parent
af28d94448
commit
7878e4bd14
1 changed files with 3 additions and 4 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue