Godot interaction system init
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
[gd_scene format=3 uid="uid://dknge5384ijcx"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b143brnl7gf4f" path="res://Scripts/Pickupable.gd" id="1_rsor3"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_1blfk"]
|
||||
size = Vector3(0.1, 0.1, 0.2)
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_va8t4"]
|
||||
size = Vector3(0.1, 0.1, 0.3)
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_w4i4f"]
|
||||
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")
|
||||
metadata/_custom_type_script = "uid://b143brnl7gf4f"
|
||||
|
||||
[node name="RigidBody3D" type="RigidBody3D" parent="." unique_id=1946674219]
|
||||
collision_layer = 9
|
||||
collision_mask = 13
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D" unique_id=1252834786]
|
||||
shape = SubResource("BoxShape3D_1blfk")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="RigidBody3D" unique_id=2082673006]
|
||||
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)
|
||||
Reference in New Issue
Block a user