[gd_scene load_steps=11 format=3 uid="uid://c45ex56io7rv7"] [ext_resource type="Script" uid="uid://caan28e6gl7fk" path="res://Resources/Objects/quiz_object.gd" id="1_ybh4a"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ybh4a"] [sub_resource type="BoxShape3D" id="BoxShape3D_6mevd"] size = Vector3(1, 2, 1) [sub_resource type="BoxShape3D" id="BoxShape3D_ybh4a"] [sub_resource type="Animation" id="Animation_ybh4a"] length = 0.001 tracks/0/type = "position_3d" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("StaticBody3D/Wall/left_door_sb/left_door") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = PackedFloat32Array(0, 1, -2, 0, 0) tracks/1/type = "position_3d" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("StaticBody3D/Wall/right_door_sb/right_door") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = PackedFloat32Array(0, 1, 2, 0, 0) tracks/2/type = "position_3d" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath("StaticBody3D/Wall/left_door_sb/left_door_cs") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = PackedFloat32Array(0, 1, -2, 0, 0) tracks/3/type = "position_3d" tracks/3/imported = false tracks/3/enabled = true tracks/3/path = NodePath("StaticBody3D/Wall/right_door_sb/right_door_cs") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/keys = PackedFloat32Array(0, 1, 2, 0, 0) [sub_resource type="Animation" id="Animation_5clbn"] resource_name = "open_door" length = 2.0 tracks/0/type = "position_3d" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("StaticBody3D/Wall/left_door_sb/left_door") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = PackedFloat32Array(0, 1, -2, 0, 0, 2, 1, -5, 0, 0) tracks/1/type = "position_3d" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("StaticBody3D/Wall/right_door_sb/right_door") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = PackedFloat32Array(0, 1, 2, 0, 0, 2, 1, 5, 0, 0) tracks/2/type = "position_3d" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath("StaticBody3D/Wall/right_door_sb/right_door_cs") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = PackedFloat32Array(0, 1, 2, 0, 0, 2, 1, 5, 0, 0) tracks/3/type = "position_3d" tracks/3/imported = false tracks/3/enabled = true tracks/3/path = NodePath("StaticBody3D/Wall/left_door_sb/left_door_cs") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/keys = PackedFloat32Array(0, 1, -2, 0, 0, 2, 1, -5, 0, 0) [sub_resource type="AnimationLibrary" id="AnimationLibrary_402uq"] _data = { &"RESET": SubResource("Animation_ybh4a"), &"open_door": SubResource("Animation_5clbn") } [sub_resource type="BoxShape3D" id="BoxShape3D_402uq"] size = Vector3(5, 6, 0.5) [sub_resource type="BoxShape3D" id="BoxShape3D_584uj"] size = Vector3(4, 6, 0.2) [sub_resource type="BoxShape3D" id="BoxShape3D_resk5"] size = Vector3(4, 6, 0.2) [node name="quiz_object" type="Node3D"] script = ExtResource("1_ybh4a") [node name="quiz_box_sb" type="StaticBody3D" parent="."] [node name="quiz_box" type="CSGBox3D" parent="quiz_box_sb"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, 0) [node name="quiz_light" type="CSGSphere3D" parent="quiz_box_sb/quiz_box"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9793253, 0) material = SubResource("StandardMaterial3D_ybh4a") [node name="CollisionShape3D" type="CollisionShape3D" parent="quiz_box_sb"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0.5, 0) shape = SubResource("BoxShape3D_6mevd") [node name="answers" type="Node3D" parent="."] [node name="answer_pad_0" type="CSGBox3D" parent="answers"] size = Vector3(1, 0.1, 1) [node name="answer_0_label" type="Label3D" parent="answers/answer_pad_0"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) autowrap_mode = 2 [node name="Area3D" type="Area3D" parent="answers/answer_pad_0"] [node name="CollisionShape3D" type="CollisionShape3D" parent="answers/answer_pad_0/Area3D"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.48036242, 0) shape = SubResource("BoxShape3D_ybh4a") [node name="answer_pad_1" type="CSGBox3D" parent="answers"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.5, 0, 0) size = Vector3(1, 0.1, 1) [node name="answer_1_label" type="Label3D" parent="answers/answer_pad_1"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) autowrap_mode = 2 [node name="Area3D" type="Area3D" parent="answers/answer_pad_1"] [node name="CollisionShape3D" type="CollisionShape3D" parent="answers/answer_pad_1/Area3D"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.48036242, 0) shape = SubResource("BoxShape3D_ybh4a") [node name="answer_pad_2" type="CSGBox3D" parent="answers"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0, 0) size = Vector3(1, 0.1, 1) [node name="answer_2_label" type="Label3D" parent="answers/answer_pad_2"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) autowrap_mode = 2 [node name="Area3D" type="Area3D" parent="answers/answer_pad_2"] [node name="CollisionShape3D" type="CollisionShape3D" parent="answers/answer_pad_2/Area3D"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.48036242, 0) shape = SubResource("BoxShape3D_ybh4a") [node name="answer_pad_3" type="CSGBox3D" parent="answers"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.5, 0, 0) size = Vector3(1, 0.1, 1) [node name="answer_3_label" type="Label3D" parent="answers/answer_pad_3"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) autowrap_mode = 2 [node name="Area3D" type="Area3D" parent="answers/answer_pad_3"] [node name="CollisionShape3D" type="CollisionShape3D" parent="answers/answer_pad_3/Area3D"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.48036242, 0) shape = SubResource("BoxShape3D_ybh4a") [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { &"": SubResource("AnimationLibrary_402uq") } [node name="StaticBody3D" type="StaticBody3D" parent="."] collision_layer = 7 collision_mask = 7 [node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 3, -4) shape = SubResource("BoxShape3D_402uq") [node name="CollisionShape3D2" type="CollisionShape3D" parent="StaticBody3D"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.5, 3, -4) shape = SubResource("BoxShape3D_402uq") [node name="Wall" type="CSGBox3D" parent="StaticBody3D"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.25, 3, -4) size = Vector3(16, 6, 0.5) [node name="door_space" type="CSGSphere3D" parent="StaticBody3D/Wall"] operation = 2 radius = 3.1 rings = 10 [node name="question_label" type="Label3D" parent="StaticBody3D/Wall"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.18187094) font_size = 64 autowrap_mode = 2 width = 1000.0 [node name="left_door_sb" type="StaticBody3D" parent="StaticBody3D/Wall"] collision_layer = 7 collision_mask = 7 [node name="left_door" type="CSGBox3D" parent="StaticBody3D/Wall/left_door_sb"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, 0) size = Vector3(4, 6, 0.2) [node name="left_door_cs" type="CollisionShape3D" parent="StaticBody3D/Wall/left_door_sb"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, 0) shape = SubResource("BoxShape3D_584uj") [node name="right_door_sb" type="StaticBody3D" parent="StaticBody3D/Wall"] collision_layer = 7 collision_mask = 7 [node name="right_door" type="CSGBox3D" parent="StaticBody3D/Wall/right_door_sb"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 0) size = Vector3(4, 6, 0.2) [node name="right_door_cs" type="CollisionShape3D" parent="StaticBody3D/Wall/right_door_sb"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 0, 0) shape = SubResource("BoxShape3D_resk5")