better slime collision shape
This commit is contained in:
@@ -36,8 +36,8 @@ animations = [{
|
|||||||
}]
|
}]
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_e6mi3"]
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_e6mi3"]
|
||||||
radius = 9.0
|
radius = 7.0
|
||||||
height = 46.0
|
height = 40.0
|
||||||
|
|
||||||
[node name="slime" type="CharacterBody2D" groups=["enemies"]]
|
[node name="slime" type="CharacterBody2D" groups=["enemies"]]
|
||||||
collision_layer = 8
|
collision_layer = 8
|
||||||
@@ -53,7 +53,7 @@ sprite_frames = SubResource("SpriteFrames_bwr2v")
|
|||||||
frame_progress = 0.348187
|
frame_progress = 0.348187
|
||||||
|
|
||||||
[node name="collision_shape_2d" type="CollisionShape2D" parent="."]
|
[node name="collision_shape_2d" type="CollisionShape2D" parent="."]
|
||||||
position = Vector2(0, 28)
|
position = Vector2(0, 27)
|
||||||
rotation = 1.5708
|
rotation = 1.5708
|
||||||
shape = SubResource("CapsuleShape2D_e6mi3")
|
shape = SubResource("CapsuleShape2D_e6mi3")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user