Created first version of SimpleSocket to test socket with SimpleKey (Any pickupable with socket)

This commit is contained in:
2026-09-26 22:19:20 +03:00
parent 6af29d4611
commit 2cc2d59be9
5 changed files with 61 additions and 7 deletions
+3 -3
View File
@@ -14,7 +14,7 @@ albedo_color = Color(1, 1, 0, 1)
[node name="SimpleKey" type="Node3D" unique_id=650555678 node_paths=PackedStringArray("body", "snapAnchor")]
script = ExtResource("1_rsor3")
body = NodePath("RigidBody3D")
snapAnchor = NodePath("SnapAnchor")
snapAnchor = NodePath("RigidBody3D/SnapAnchor")
metadata/_custom_type_script = "uid://b143brnl7gf4f"
[node name="RigidBody3D" type="RigidBody3D" parent="." unique_id=1946674219]
@@ -28,5 +28,5 @@ shape = SubResource("BoxShape3D_1blfk")
mesh = SubResource("BoxMesh_va8t4")
surface_material_override/0 = SubResource("StandardMaterial3D_w4i4f")
[node name="SnapAnchor" type="Marker3D" parent="." unique_id=389082687]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.15)
[node name="SnapAnchor" type="Marker3D" parent="RigidBody3D" unique_id=389082687]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.15)