[gd_scene load_steps=7 format=3 uid="uid://b1mlcrpson6sb"] [ext_resource type="PhysicsMaterial" uid="uid://clyaty70wifjj" path="res://cubes/physics/cube_physics.tres" id="1_bdkct"] [ext_resource type="Script" path="res://cubes/physics/physics_death.gd" id="1_c6k3p"] [ext_resource type="PackedScene" uid="uid://d4hxa8450gbr3" path="res://cubes/physics/cube_purple.blend" id="2_x0fco"] [ext_resource type="Script" path="res://primitives/fractal.gd" id="3_vbipc"] [sub_resource type="BoxShape3D" id="BoxShape3D_c0wct"] size = Vector3(3, 3, 3) [sub_resource type="BoxShape3D" id="BoxShape3D_4yg1a"] size = Vector3(3, 3, 3) [node name="cube_purple" type="Node3D"] [node name="center" type="RigidBody3D" parent="." node_paths=PackedStringArray("mesh", "colliders")] collision_layer = 25 mass = 0.3 physics_material_override = ExtResource("1_bdkct") script = ExtResource("1_c6k3p") mesh = [NodePath("../n/cube_purple"), NodePath("../s/cube_purple"), NodePath("../w/cube_purple"), NodePath("../e/cube_purple"), NodePath("../u/cube_purple"), NodePath("../d/cube_purple"), NodePath("cube_purple")] colliders = [NodePath("CollisionShape3D"), NodePath("../n/CollisionShape3D"), NodePath("../s/CollisionShape3D"), NodePath("../w/CollisionShape3D"), NodePath("../e/CollisionShape3D"), NodePath("../u/CollisionShape3D"), NodePath("../d/CollisionShape3D")] [node name="cube_purple" parent="center" instance=ExtResource("2_x0fco")] transform = Transform3D(1.5, 0, 0, 0, 1.5, 0, 0, 0, 1.5, 0, 0, 0) [node name="CollisionShape3D" type="CollisionShape3D" parent="center"] shape = SubResource("BoxShape3D_c0wct") [node name="n" type="StaticBody3D" parent="."] script = ExtResource("3_vbipc") direction = Vector3(1, 0, 0) [node name="cube_purple" parent="n" instance=ExtResource("2_x0fco")] transform = Transform3D(1.425, 0, 0, 0, 1.425, 0, 0, 0, 1.425, 0, 0, 0) [node name="CollisionShape3D" type="CollisionShape3D" parent="n"] transform = Transform3D(0.9, 0, 0, 0, 0.9, 0, 0, 0, 0.9, 0, 0, 0) shape = SubResource("BoxShape3D_4yg1a") [node name="s" type="StaticBody3D" parent="."] script = ExtResource("3_vbipc") direction = Vector3(-1, 0, 0) [node name="cube_purple" parent="s" instance=ExtResource("2_x0fco")] transform = Transform3D(1.425, 0, 0, 0, 1.425, 0, 0, 0, 1.425, 0, 0, 0) [node name="CollisionShape3D" type="CollisionShape3D" parent="s"] transform = Transform3D(0.9, 0, 0, 0, 0.9, 0, 0, 0, 0.9, 0, 0, 0) shape = SubResource("BoxShape3D_4yg1a") [node name="w" type="StaticBody3D" parent="."] script = ExtResource("3_vbipc") direction = Vector3(0, 0, -1) [node name="cube_purple" parent="w" instance=ExtResource("2_x0fco")] transform = Transform3D(1.425, 0, 0, 0, 1.425, 0, 0, 0, 1.425, 0, 0, 0) [node name="CollisionShape3D" type="CollisionShape3D" parent="w"] transform = Transform3D(0.9, 0, 0, 0, 0.9, 0, 0, 0, 0.9, 0, 0, 0) shape = SubResource("BoxShape3D_4yg1a") [node name="e" type="StaticBody3D" parent="."] script = ExtResource("3_vbipc") direction = Vector3(0, 0, 1) [node name="cube_purple" parent="e" instance=ExtResource("2_x0fco")] transform = Transform3D(1.425, 0, 0, 0, 1.425, 0, 0, 0, 1.425, 0, 0, 0) [node name="CollisionShape3D" type="CollisionShape3D" parent="e"] transform = Transform3D(0.9, 0, 0, 0, 0.9, 0, 0, 0, 0.9, 0, 0, 0) shape = SubResource("BoxShape3D_4yg1a") [node name="u" type="StaticBody3D" parent="."] script = ExtResource("3_vbipc") direction = Vector3(0, 1, 0) [node name="cube_purple" parent="u" instance=ExtResource("2_x0fco")] transform = Transform3D(1.425, 0, 0, 0, 1.425, 0, 0, 0, 1.425, 0, 0, 0) [node name="CollisionShape3D" type="CollisionShape3D" parent="u"] transform = Transform3D(0.9, 0, 0, 0, 0.9, 0, 0, 0, 0.9, 0, 0, 0) shape = SubResource("BoxShape3D_4yg1a") [node name="d" type="StaticBody3D" parent="."] script = ExtResource("3_vbipc") direction = Vector3(0, -1, 0) [node name="cube_purple" parent="d" instance=ExtResource("2_x0fco")] transform = Transform3D(1.425, 0, 0, 0, 1.425, 0, 0, 0, 1.425, 0, 0, 0) [node name="CollisionShape3D" type="CollisionShape3D" parent="d"] transform = Transform3D(0.9, 0, 0, 0, 0.9, 0, 0, 0, 0.9, 0, 0, 0) shape = SubResource("BoxShape3D_4yg1a")