cawez_puzzlebox/cubes/physics/cube_purple.tscn
2024-06-22 18:04:25 -04:00

84 lines
3.1 KiB
Plaintext

[gd_scene load_steps=6 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="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(2.9, 2.9, 2.9)
[node name="cube_purple" type="Node3D"]
[node name="center" type="RigidBody3D" parent="."]
mass = 0.3
physics_material_override = ExtResource("1_bdkct")
[node name="CollisionShape3D" type="CollisionShape3D" parent="center"]
shape = SubResource("BoxShape3D_c0wct")
[node name="cube_purple" parent="center/CollisionShape3D" instance=ExtResource("2_x0fco")]
transform = Transform3D(1.5, 0, 0, 0, 1.5, 0, 0, 0, 1.5, 0, 0, 0)
[node name="n" type="AnimatableBody3D" parent="."]
script = ExtResource("3_vbipc")
direction = Vector3(1, 0, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="n"]
shape = SubResource("BoxShape3D_4yg1a")
[node name="cube_purple" parent="n/CollisionShape3D" instance=ExtResource("2_x0fco")]
transform = Transform3D(1.5, 0, 0, 0, 1.5, 0, 0, 0, 1.5, 0, 0, 0)
[node name="s" type="AnimatableBody3D" parent="."]
script = ExtResource("3_vbipc")
direction = Vector3(-1, 0, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="s"]
shape = SubResource("BoxShape3D_4yg1a")
[node name="cube_purple" parent="s/CollisionShape3D" instance=ExtResource("2_x0fco")]
transform = Transform3D(1.5, 0, 0, 0, 1.5, 0, 0, 0, 1.5, 0, 0, 0)
[node name="w" type="AnimatableBody3D" parent="."]
script = ExtResource("3_vbipc")
direction = Vector3(0, 0, -1)
[node name="CollisionShape3D" type="CollisionShape3D" parent="w"]
shape = SubResource("BoxShape3D_4yg1a")
[node name="cube_purple" parent="w/CollisionShape3D" instance=ExtResource("2_x0fco")]
transform = Transform3D(1.5, 0, 0, 0, 1.5, 0, 0, 0, 1.5, 0, 0, 0)
[node name="e" type="AnimatableBody3D" parent="."]
script = ExtResource("3_vbipc")
direction = Vector3(0, 0, 1)
[node name="CollisionShape3D" type="CollisionShape3D" parent="e"]
shape = SubResource("BoxShape3D_4yg1a")
[node name="cube_purple" parent="e/CollisionShape3D" instance=ExtResource("2_x0fco")]
transform = Transform3D(1.5, 0, 0, 0, 1.5, 0, 0, 0, 1.5, 0, 0, 0)
[node name="u" type="AnimatableBody3D" parent="."]
script = ExtResource("3_vbipc")
direction = Vector3(0, 1, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="u"]
shape = SubResource("BoxShape3D_4yg1a")
[node name="cube_purple" parent="u/CollisionShape3D" instance=ExtResource("2_x0fco")]
transform = Transform3D(1.5, 0, 0, 0, 1.5, 0, 0, 0, 1.5, 0, 0, 0)
[node name="d" type="AnimatableBody3D" parent="."]
script = ExtResource("3_vbipc")
direction = Vector3(0, -1, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="d"]
shape = SubResource("BoxShape3D_4yg1a")
[node name="cube_purple" parent="d/CollisionShape3D" instance=ExtResource("2_x0fco")]
transform = Transform3D(1.5, 0, 0, 0, 1.5, 0, 0, 0, 1.5, 0, 0, 0)