godot-plateformer/addons/reedcomponent/locomotion/wall_detector.tscn

22 lines
664 B
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://blm8q46h3v2im"]
[ext_resource type="Script" uid="uid://dpa58q47hfdvy" path="res://addons/reedcomponent/locomotion/wall_detector.gd" id="1_wmygx"]
[node name="WallDetector" type="Node2D"]
script = ExtResource("1_wmygx")
[node name="UpRayCast2D" type="RayCast2D" parent="."]
position = Vector2(0, -15)
target_position = Vector2(7, 0)
collision_mask = 4
[node name="MidRayCast2D" type="RayCast2D" parent="."]
position = Vector2(0, -1)
target_position = Vector2(7, 0)
collision_mask = 4
[node name="DownRayCast2D" type="RayCast2D" parent="."]
position = Vector2(0, 11)
target_position = Vector2(6, 0)
collision_mask = 4