TileMapLayer collisions with area2d sucessfull

This commit is contained in:
=
2026-01-26 13:15:45 -07:00
parent f647f5ed08
commit 318397ee29
3 changed files with 47 additions and 26 deletions

View File

@@ -137,22 +137,25 @@ metadata/AbilityRegenerate = true
[node name="GroundDetector" type="Area2D" parent="."]
position = Vector2(1.1368684e-13, 10.999999)
scale = Vector2(0.099999994, 0.099999994)
collision_layer = 0
[node name="CollisionShape2D" type="CollisionShape2D" parent="GroundDetector"]
scale = Vector2(0.99999994, 0.99999994)
shape = SubResource("RectangleShape2D_bc7hl")
[node name="LedgeDetector" type="Area2D" parent="."]
collision_layer = 0
[node name="CollisionShape2D" type="CollisionShape2D" parent="LedgeDetector"]
position = Vector2(12, 12)
position = Vector2(14, 14)
scale = Vector2(0.1, 0.1)
shape = SubResource("RectangleShape2D_bc7hl")
[node name="WallDetector" type="Area2D" parent="."]
collision_layer = 0
[node name="CollisionShape2D" type="CollisionShape2D" parent="WallDetector"]
position = Vector2(12, 9.536743e-07)
position = Vector2(14, 9.536743e-07)
scale = Vector2(0.1, 0.1)
shape = SubResource("RectangleShape2D_bc7hl")