2026-01-15 16:09:20 +08:00
|
|
|
[gd_scene load_steps=3 format=3 uid="uid://ddwoxlqluxiq5"]
|
2025-12-31 13:07:31 +08:00
|
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://bvxgviq7l64ck" path="res://addons/reedcomponent/grap_hook/garpping_hook_v_2.gd" id="1_jrg4x"]
|
|
|
|
|
|
2026-01-15 16:09:20 +08:00
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_jrg4x"]
|
|
|
|
|
radius = 5.0990195
|
|
|
|
|
|
2025-12-31 13:07:31 +08:00
|
|
|
[node name="GarppingHookV2" type="Node2D"]
|
|
|
|
|
script = ExtResource("1_jrg4x")
|
|
|
|
|
|
|
|
|
|
[node name="Line2D" type="Line2D" parent="."]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
points = PackedVector2Array(0, 0, 80, 0)
|
|
|
|
|
width = 8.0
|
|
|
|
|
|
2025-12-31 16:24:11 +08:00
|
|
|
[node name="RayCast2D" type="RayCast2D" parent="."]
|
2025-12-31 13:07:31 +08:00
|
|
|
unique_name_in_owner = true
|
2025-12-31 16:24:11 +08:00
|
|
|
target_position = Vector2(80, 0)
|
2026-01-15 13:01:31 +08:00
|
|
|
collision_mask = 20
|
2025-12-31 16:24:11 +08:00
|
|
|
collide_with_areas = true
|
2026-01-15 16:09:20 +08:00
|
|
|
|
|
|
|
|
[node name="TipDetector" type="Area2D" parent="."]
|
|
|
|
|
position = Vector2(80, 0)
|
|
|
|
|
collision_layer = 0
|
|
|
|
|
collision_mask = 32
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="TipDetector"]
|
|
|
|
|
shape = SubResource("CircleShape2D_jrg4x")
|
|
|
|
|
debug_color = Color(0, 0.6, 0.69803923, 0)
|