godot-plateformer/addons/reedcomponent/grap_hook/grapping_hook.tscn

34 lines
1.1 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://wlbuqjf2rg03"]
[ext_resource type="Script" uid="uid://d02c2hmup0axx" path="res://addons/reedcomponent/grap_hook/grapping_hook.gd" id="1_4k3sh"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_rrx75"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4k3sh"]
[node name="GrappingHook" type="Node2D"]
script = ExtResource("1_4k3sh")
[node name="Anchor" type="StaticBody2D" parent="."]
unique_name_in_owner = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Anchor"]
shape = SubResource("RectangleShape2D_rrx75")
[node name="PinJoint2D" type="PinJoint2D" parent="Anchor"]
unique_name_in_owner = true
node_a = NodePath("..")
node_b = NodePath("../../PlayerAnchor")
[node name="PlayerAnchor" type="RigidBody2D" parent="."]
unique_name_in_owner = true
position = Vector2(0, 80)
[node name="CollisionShape2D" type="CollisionShape2D" parent="PlayerAnchor"]
shape = SubResource("RectangleShape2D_4k3sh")
[node name="Line2D" type="Line2D" parent="."]
unique_name_in_owner = true
points = PackedVector2Array(0, 0, 0, 80)
width = 4.0