43 lines
1.8 KiB
Plaintext
43 lines
1.8 KiB
Plaintext
[gd_scene format=3 uid="uid://cfheqck1xs2bs"]
|
|
|
|
[ext_resource type="Script" uid="uid://diphc7baic3px" path="res://Scripts/Button.gd" id="1_2ptq0"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_1blfk"]
|
|
size = Vector3(0.6, 0.6, 0.2640503)
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_1blfk"]
|
|
size = Vector3(0.6, 0.6, 0.2)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_va8t4"]
|
|
albedo_color = Color(0, 0, 0, 1)
|
|
|
|
[sub_resource type="CylinderMesh" id="CylinderMesh_1blfk"]
|
|
top_radius = 0.15
|
|
bottom_radius = 0.15
|
|
height = 0.1
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_476pq"]
|
|
albedo_color = Color(1, 0, 0, 1)
|
|
|
|
[node name="SimpleButton" type="Node3D" unique_id=1810741910 node_paths=PackedStringArray("buttonMesh")]
|
|
script = ExtResource("1_2ptq0")
|
|
buttonMesh = NodePath("Mesh")
|
|
metadata/_custom_type_script = "uid://diphc7baic3px"
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="." unique_id=1106731310]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.12462454)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" unique_id=756448224]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.032025155)
|
|
shape = SubResource("BoxShape3D_1blfk")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody3D" unique_id=1694245576]
|
|
transform = Transform3D(1, 0, 0, 0, 0.99999994, 0, 0, 0, 0.99999994, 0, 0, 7.450581e-09)
|
|
mesh = SubResource("BoxMesh_1blfk")
|
|
surface_material_override/0 = SubResource("StandardMaterial3D_va8t4")
|
|
|
|
[node name="Mesh" type="MeshInstance3D" parent="." unique_id=1579829234]
|
|
transform = Transform3D(1, 0, 0, 0, -4.3711385e-08, -0.99999994, 0, 0.99999994, -4.3711385e-08, 0, 0, 0)
|
|
mesh = SubResource("CylinderMesh_1blfk")
|
|
surface_material_override/0 = SubResource("StandardMaterial3D_476pq")
|