Created first version of SimpleSocket to test socket with SimpleKey (Any pickupable with socket)
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
[gd_scene format=3 uid="uid://cvipcpeglasek"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://xd03vepkva1l" path="res://Scripts/Socket.gd" id="1_5ldhx"]
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_1blfk"]
|
||||
size = Vector3(1, 1, 0.2)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_1blfk"]
|
||||
size = Vector3(1, 1, 0.2)
|
||||
|
||||
[node name="SimpleSocket" type="Node3D" unique_id=1835661048 node_paths=PackedStringArray("snapPoint", "snapArea")]
|
||||
script = ExtResource("1_5ldhx")
|
||||
snapPoint = NodePath("Marker3D")
|
||||
snapArea = NodePath("Area3D")
|
||||
metadata/_custom_type_script = "uid://xd03vepkva1l"
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="." unique_id=1351826322]
|
||||
mesh = SubResource("BoxMesh_1blfk")
|
||||
|
||||
[node name="Area3D" type="Area3D" parent="." unique_id=792436256]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D" unique_id=1932740275]
|
||||
shape = SubResource("BoxShape3D_1blfk")
|
||||
|
||||
[node name="Marker3D" type="Marker3D" parent="." unique_id=1726119799]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.1)
|
||||
Reference in New Issue
Block a user