🚧 interaction kinda sorta works now, still needs tweaking
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user