You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Babushka/prefabs/interactions/detection_cross.tscn

21 lines
919 B

[gd_scene load_steps=4 format=3 uid="uid://pflu0uaig7vv"]
[ext_resource type="Script" uid="uid://ccc6m6c5khd2x" path="res://scripts/CSharp/Common/CharacterControls/DetectionCross.cs" id="1_va8tx"]
[ext_resource type="PackedScene" uid="uid://dugr6ff1g7hi0" path="res://prefabs/interactions/detector.tscn" id="2_8hh05"]
[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")]
script = ExtResource("1_va8tx")
_collider = NodePath("detector")
_detector = NodePath("Raycast")
_xOffset = 200.0
_yOffset = 200.0
[node name="Raycast" type="RayCast2D" parent="."]
top_level = true
target_position = Vector2(257, -149)
collide_with_areas = true
script = ExtResource("2_va8tx")
[node name="detector" parent="." instance=ExtResource("2_8hh05")]