[gd_scene load_steps=11 format=3 uid="uid://c211w30s0sq2r"] [ext_resource type="PackedScene" uid="uid://c1iv6daxy7dau" path="res://objekte/riddel_cube_board_snap_zone.tscn" id="1_1knsq"] [ext_resource type="ArrayMesh" uid="uid://u5qk4tyitmcv" path="res://assets-lib/kenney_modular-dungeon-kit_1.0/Models/OBJ format/template-wall.obj" id="1_5vce8"] [ext_resource type="Script" uid="uid://dbixxo8e71agc" path="res://objekte/riddel_cube_board.gd" id="1_bn1yc"] [sub_resource type="BoxShape3D" id="BoxShape3D_5vce8"] size = Vector3(0.7437744, 2.1717224, 4.0791626) [sub_resource type="BoxShape3D" id="BoxShape3D_bn1yc"] size = Vector3(4.0583344, 0.9494629, 0.8696289) [sub_resource type="BoxShape3D" id="BoxShape3D_3w5dj"] size = Vector3(1, 0.27404785, 1.2711182) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_bn1yc"] [sub_resource type="Animation" id="Animation_3w5dj"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("Box:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector3(0.008849144, 1.7908573, 0)] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("cubePos_1:position") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector3(0.27241376, 1.8878542, 0.39217547)] } tracks/2/type = "value" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath("cubePos_2:position") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector3(0.27241376, 1.884588, 0.14910692)] } tracks/3/type = "value" tracks/3/imported = false tracks/3/enabled = true tracks/3/path = NodePath("cubePos_3:position") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector3(0.27241376, 1.8813478, -0.12817076)] } tracks/4/type = "value" tracks/4/imported = false tracks/4/enabled = true tracks/4/path = NodePath("cubePos_4:position") tracks/4/interp = 1 tracks/4/loop_wrap = true tracks/4/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector3(0.27241376, 1.875885, -0.39778823)] } tracks/5/type = "value" tracks/5/imported = false tracks/5/enabled = true tracks/5/path = NodePath("cubePos_5:position") tracks/5/interp = 1 tracks/5/loop_wrap = true tracks/5/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector3(0.27241376, 1.6902655, 0.40010166)] } tracks/6/type = "value" tracks/6/imported = false tracks/6/enabled = true tracks/6/path = NodePath("cubePos_6:position") tracks/6/interp = 1 tracks/6/loop_wrap = true tracks/6/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector3(0.27241376, 1.6902655, 0.1501132)] } tracks/7/type = "value" tracks/7/imported = false tracks/7/enabled = true tracks/7/path = NodePath("cubePos_7:position") tracks/7/interp = 1 tracks/7/loop_wrap = true tracks/7/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector3(0.27241376, 1.6902655, -0.12617017)] } tracks/8/type = "value" tracks/8/imported = false tracks/8/enabled = true tracks/8/path = NodePath("cubePos_8:position") tracks/8/interp = 1 tracks/8/loop_wrap = true tracks/8/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector3(0.27241376, 1.6902655, -0.40239784)] } tracks/9/type = "value" tracks/9/imported = false tracks/9/enabled = true tracks/9/path = NodePath("StaticBody3D:position") tracks/9/interp = 1 tracks/9/loop_wrap = true tracks/9/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector3(0, 0, 0)] } tracks/10/type = "value" tracks/10/imported = false tracks/10/enabled = true tracks/10/path = NodePath("cubePos_1:visible") tracks/10/interp = 1 tracks/10/loop_wrap = true tracks/10/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [true] } tracks/11/type = "value" tracks/11/imported = false tracks/11/enabled = true tracks/11/path = NodePath("cubePos_2:visible") tracks/11/interp = 1 tracks/11/loop_wrap = true tracks/11/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [true] } tracks/12/type = "value" tracks/12/imported = false tracks/12/enabled = true tracks/12/path = NodePath("cubePos_3:visible") tracks/12/interp = 1 tracks/12/loop_wrap = true tracks/12/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [true] } tracks/13/type = "value" tracks/13/imported = false tracks/13/enabled = true tracks/13/path = NodePath("cubePos_4:visible") tracks/13/interp = 1 tracks/13/loop_wrap = true tracks/13/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [true] } tracks/14/type = "value" tracks/14/imported = false tracks/14/enabled = true tracks/14/path = NodePath("cubePos_5:visible") tracks/14/interp = 1 tracks/14/loop_wrap = true tracks/14/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [true] } tracks/15/type = "value" tracks/15/imported = false tracks/15/enabled = true tracks/15/path = NodePath("cubePos_6:visible") tracks/15/interp = 1 tracks/15/loop_wrap = true tracks/15/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [true] } tracks/16/type = "value" tracks/16/imported = false tracks/16/enabled = true tracks/16/path = NodePath("cubePos_7:visible") tracks/16/interp = 1 tracks/16/loop_wrap = true tracks/16/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [true] } tracks/17/type = "value" tracks/17/imported = false tracks/17/enabled = true tracks/17/path = NodePath("cubePos_8:visible") tracks/17/interp = 1 tracks/17/loop_wrap = true tracks/17/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [true] } tracks/18/type = "value" tracks/18/imported = false tracks/18/enabled = true tracks/18/path = NodePath("Box:visible") tracks/18/interp = 1 tracks/18/loop_wrap = true tracks/18/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [true] } [sub_resource type="Animation" id="Animation_bn1yc"] resource_name = "hide_box" length = 3.0 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("Box:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 1), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector3(0.008849144, 1.7908573, 0), Vector3(-0.761188, 1.7908573, 0)] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("cubePos_1:position") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0.52, 1), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector3(0.27241376, 1.8878542, 0.39217547), Vector3(-0.25107017, 1.8878542, 0.39217547)] } tracks/2/type = "value" tracks/2/imported = false tracks/2/enabled = true tracks/2/path = NodePath("cubePos_2:position") tracks/2/interp = 1 tracks/2/loop_wrap = true tracks/2/keys = { "times": PackedFloat32Array(0.52, 1), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector3(0.27241376, 1.884588, 0.14910692), Vector3(-0.25107017, 1.884588, 0.14910692)] } tracks/3/type = "value" tracks/3/imported = false tracks/3/enabled = true tracks/3/path = NodePath("cubePos_3:position") tracks/3/interp = 1 tracks/3/loop_wrap = true tracks/3/keys = { "times": PackedFloat32Array(0.52, 1), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector3(0.27241376, 1.8813478, -0.12817076), Vector3(-0.25107017, 1.8813478, -0.12817076)] } tracks/4/type = "value" tracks/4/imported = false tracks/4/enabled = true tracks/4/path = NodePath("cubePos_4:position") tracks/4/interp = 1 tracks/4/loop_wrap = true tracks/4/keys = { "times": PackedFloat32Array(0.52, 1), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector3(0.27241376, 1.875885, -0.39778823), Vector3(-0.25107017, 1.875885, -0.39778823)] } tracks/5/type = "value" tracks/5/imported = false tracks/5/enabled = true tracks/5/path = NodePath("cubePos_5:position") tracks/5/interp = 1 tracks/5/loop_wrap = true tracks/5/keys = { "times": PackedFloat32Array(0.52, 1), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector3(0.27241376, 1.6902655, 0.40010166), Vector3(-0.25107017, 1.6902655, 0.40010166)] } tracks/6/type = "value" tracks/6/imported = false tracks/6/enabled = true tracks/6/path = NodePath("cubePos_6:position") tracks/6/interp = 1 tracks/6/loop_wrap = true tracks/6/keys = { "times": PackedFloat32Array(0.52, 1), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector3(0.27241376, 1.6902655, 0.1501132), Vector3(-0.25107017, 1.6902655, 0.1501132)] } tracks/7/type = "value" tracks/7/imported = false tracks/7/enabled = true tracks/7/path = NodePath("cubePos_7:position") tracks/7/interp = 1 tracks/7/loop_wrap = true tracks/7/keys = { "times": PackedFloat32Array(0.52, 1), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector3(0.27241376, 1.6902655, -0.12617017), Vector3(-0.25107017, 1.6902655, -0.12617017)] } tracks/8/type = "value" tracks/8/imported = false tracks/8/enabled = true tracks/8/path = NodePath("cubePos_8:position") tracks/8/interp = 1 tracks/8/loop_wrap = true tracks/8/keys = { "times": PackedFloat32Array(0.52, 1), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector3(0.27241376, 1.6902655, -0.40239784), Vector3(-0.25107017, 1.6902655, -0.40239784)] } tracks/9/type = "value" tracks/9/imported = false tracks/9/enabled = true tracks/9/path = NodePath("StaticBody3D:position") tracks/9/interp = 1 tracks/9/loop_wrap = true tracks/9/keys = { "times": PackedFloat32Array(1, 3), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector3(0, 0, 0), Vector3(0, 0, 4)] } tracks/10/type = "value" tracks/10/imported = false tracks/10/enabled = true tracks/10/path = NodePath("cubePos_1:visible") tracks/10/interp = 1 tracks/10/loop_wrap = true tracks/10/keys = { "times": PackedFloat32Array(0, 0.96), "transitions": PackedFloat32Array(1, 1), "update": 1, "values": [true, false] } tracks/11/type = "value" tracks/11/imported = false tracks/11/enabled = true tracks/11/path = NodePath("cubePos_2:visible") tracks/11/interp = 1 tracks/11/loop_wrap = true tracks/11/keys = { "times": PackedFloat32Array(0, 0.96), "transitions": PackedFloat32Array(1, 1), "update": 1, "values": [true, false] } tracks/12/type = "value" tracks/12/imported = false tracks/12/enabled = true tracks/12/path = NodePath("cubePos_3:visible") tracks/12/interp = 1 tracks/12/loop_wrap = true tracks/12/keys = { "times": PackedFloat32Array(0, 0.96), "transitions": PackedFloat32Array(1, 1), "update": 1, "values": [true, false] } tracks/13/type = "value" tracks/13/imported = false tracks/13/enabled = true tracks/13/path = NodePath("cubePos_4:visible") tracks/13/interp = 1 tracks/13/loop_wrap = true tracks/13/keys = { "times": PackedFloat32Array(0, 0.96), "transitions": PackedFloat32Array(1, 1), "update": 1, "values": [true, false] } tracks/14/type = "value" tracks/14/imported = false tracks/14/enabled = true tracks/14/path = NodePath("cubePos_5:visible") tracks/14/interp = 1 tracks/14/loop_wrap = true tracks/14/keys = { "times": PackedFloat32Array(0, 0.96), "transitions": PackedFloat32Array(1, 1), "update": 1, "values": [true, false] } tracks/15/type = "value" tracks/15/imported = false tracks/15/enabled = true tracks/15/path = NodePath("cubePos_6:visible") tracks/15/interp = 1 tracks/15/loop_wrap = true tracks/15/keys = { "times": PackedFloat32Array(0, 0.96), "transitions": PackedFloat32Array(1, 1), "update": 1, "values": [true, false] } tracks/16/type = "value" tracks/16/imported = false tracks/16/enabled = true tracks/16/path = NodePath("cubePos_7:visible") tracks/16/interp = 1 tracks/16/loop_wrap = true tracks/16/keys = { "times": PackedFloat32Array(0, 0.96), "transitions": PackedFloat32Array(1, 1), "update": 1, "values": [true, false] } tracks/17/type = "value" tracks/17/imported = false tracks/17/enabled = true tracks/17/path = NodePath("cubePos_8:visible") tracks/17/interp = 1 tracks/17/loop_wrap = true tracks/17/keys = { "times": PackedFloat32Array(0, 0.96), "transitions": PackedFloat32Array(1, 1), "update": 1, "values": [true, false] } tracks/18/type = "value" tracks/18/imported = false tracks/18/enabled = true tracks/18/path = NodePath("Box:visible") tracks/18/interp = 1 tracks/18/loop_wrap = true tracks/18/keys = { "times": PackedFloat32Array(0, 0.96), "transitions": PackedFloat32Array(1, 1), "update": 1, "values": [true, false] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_exjye"] _data = { &"RESET": SubResource("Animation_3w5dj"), &"hide_box": SubResource("Animation_bn1yc") } [node name="RiddelCubeBoard" type="Node3D"] script = ExtResource("1_bn1yc") [node name="StaticBody3D" type="StaticBody3D" parent="."] [node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody3D"] transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -0.62443364, 0, 0) mesh = ExtResource("1_5vce8") skeleton = NodePath("../..") [node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.29564995, 1.9567494, 0.011627197) shape = SubResource("BoxShape3D_5vce8") [node name="CollisionShape3D2" type="CollisionShape3D" parent="StaticBody3D"] transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -0.22477543, 0.43526953, 0.00807952) shape = SubResource("BoxShape3D_bn1yc") [node name="CollisionShape3D3" type="CollisionShape3D" parent="StaticBody3D"] transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -0.0182935, 0.08905029, 2.6495226e-08) shape = SubResource("BoxShape3D_3w5dj") [node name="cubePos_1" parent="." groups=["RiddelCube"] instance=ExtResource("1_1knsq")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.27241376, 1.8878542, 0.39217547) grab_distance = 0.03 snap_mode = 0 [node name="cubePos_2" parent="." groups=["RiddelCube"] instance=ExtResource("1_1knsq")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.27241376, 1.884588, 0.14910692) grab_distance = 0.03 snap_mode = 0 [node name="cubePos_3" parent="." groups=["RiddelCube"] instance=ExtResource("1_1knsq")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.27241376, 1.8813478, -0.12817076) grab_distance = 0.03 snap_mode = 0 [node name="cubePos_4" parent="." groups=["RiddelCube"] instance=ExtResource("1_1knsq")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.27241376, 1.875885, -0.39778823) grab_distance = 0.03 snap_mode = 0 [node name="cubePos_5" parent="." groups=["RiddelCube"] instance=ExtResource("1_1knsq")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.27241376, 1.6902655, 0.40010166) grab_distance = 0.03 snap_mode = 0 [node name="cubePos_6" parent="." groups=["RiddelCube"] instance=ExtResource("1_1knsq")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.27241376, 1.6902655, 0.1501132) grab_distance = 0.03 snap_mode = 0 [node name="cubePos_7" parent="." groups=["RiddelCube"] instance=ExtResource("1_1knsq")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.27241376, 1.6902655, -0.12617017) grab_distance = 0.03 snap_mode = 0 [node name="cubePos_8" parent="." groups=["RiddelCube"] instance=ExtResource("1_1knsq")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.27241376, 1.6902655, -0.40239784) grab_distance = 0.03 snap_mode = 0 [node name="Box" type="CSGBox3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.008849144, 1.7908573, 0) size = Vector3(0.4, 0.4, 1.5) material = SubResource("StandardMaterial3D_bn1yc") [node name="AnimationGeheimgang" type="AnimationPlayer" parent="."] libraries = { &"": SubResource("AnimationLibrary_exjye") }