Files
escape/Objects/Slot.tscn
T
mark 21f0750a74 alles heeft een einde
en een worst zelfs twee
2023-02-05 01:20:37 +01:00

53 lines
2.0 KiB
Plaintext

[gd_scene load_steps=8 format=3 uid="uid://bm3d233ul4asx"]
[ext_resource type="PackedScene" uid="uid://bgbv67hxphufl" path="res://Objects/combi.tscn" id="1_7rjc3"]
[ext_resource type="Script" path="res://Scripts/Slot.gd" id="1_ksddl"]
[ext_resource type="AudioStream" uid="uid://dr8lncxad2pwm" path="res://Audio/click.wav" id="3_pbq0q"]
[sub_resource type="BoxMesh" id="BoxMesh_5jhoy"]
size = Vector3(6, 2, 1)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_pxfgr"]
albedo_color = Color(1, 0.690196, 0.607843, 1)
metallic = 1.0
roughness = 0.67
[sub_resource type="CapsuleMesh" id="CapsuleMesh_kkd31"]
material = SubResource("StandardMaterial3D_pxfgr")
[sub_resource type="BoxShape3D" id="BoxShape3D_v83up"]
size = Vector3(0.75, 1.75, 1)
[node name="Slot" type="Node3D"]
script = ExtResource("1_ksddl")
[node name="Body" type="MeshInstance3D" parent="."]
mesh = SubResource("BoxMesh_5jhoy")
[node name="1" parent="Body" instance=ExtResource("1_7rjc3")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.23883, 0, 0)
[node name="2" parent="Body" instance=ExtResource("1_7rjc3")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.05909, 0, 0)
[node name="3" parent="Body" instance=ExtResource("1_7rjc3")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.123511, 0, 0)
[node name="4" parent="Body" instance=ExtResource("1_7rjc3")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.28956, 0, 0)
[node name="Knop" type="MeshInstance3D" parent="Body"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.49363, 0, 0.131068)
mesh = SubResource("CapsuleMesh_kkd31")
[node name="StaticBody3D" type="StaticBody3D" parent="Body/Knop"]
collision_layer = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="Body/Knop/StaticBody3D"]
shape = SubResource("BoxShape3D_v83up")
[node name="Audio" type="AudioStreamPlayer" parent="Body/Knop"]
stream = ExtResource("3_pbq0q")
[connection signal="input_event" from="Body/Knop/StaticBody3D" to="." method="_on_static_body_3d_input_event"]