🚧 interaction kinda sorta works now, still needs tweaking

This commit is contained in:
2025-12-10 16:57:39 +01:00
parent a6260efc07
commit b232cb31c3
5 changed files with 8 additions and 6 deletions
+2 -2
View File
@@ -5,6 +5,7 @@
[ext_resource type="Script" uid="uid://b4n0nlu4ckqga" path="res://scripts/CSharp/Common/CharacterControls/RaycastDetector.cs" id="2_va8tx"]
[node name="DetectionCross" type="Node2D" node_paths=PackedStringArray("_collider", "_detector")]
position = Vector2(0, 1)
script = ExtResource("1_va8tx")
_collider = NodePath("detector")
_detector = NodePath("Raycast")
@@ -12,8 +13,7 @@ _xOffset = 200.0
_yOffset = 200.0
[node name="Raycast" type="RayCast2D" parent="."]
top_level = true
target_position = Vector2(257, -149)
target_position = Vector2(222, -168)
collide_with_areas = true
script = ExtResource("2_va8tx")