🚧 WIP: trying to rework the detection system (it fails)

This commit is contained in:
2025-12-09 17:51:00 +01:00
parent bef54420e4
commit 9499c27444
12 changed files with 106 additions and 17 deletions
+3 -3
View File
@@ -2,13 +2,13 @@
[ext_resource type="Script" uid="uid://c3pd60biootsx" path="res://scripts/CSharp/Common/CharacterControls/Detector.cs" id="1_6pib0"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_qwv4c"]
size = Vector2(100, 400)
[sub_resource type="CircleShape2D" id="CircleShape2D_6pib0"]
radius = 200.0
[node name="detector" type="Area2D"]
collision_layer = 4
script = ExtResource("1_6pib0")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_qwv4c")
shape = SubResource("CircleShape2D_6pib0")
debug_color = Color(0.9459047, 7.2196126e-06, 0.5925879, 0.41960785)