Files
2026-06-03 12:30:55 -03:00

87 lines
7.4 KiB
Plaintext

[gd_scene format=3 uid="uid://busw6rdgoot4h"]
[ext_resource type="Script" uid="uid://27ghe6jcu08q" path="res://test/Scripts/broken.gd" id="1_4k8xs"]
[ext_resource type="ArrayMesh" uid="uid://cmxf4bppbbuf3" path="res://test/assets/addons/caixa/extras/break_pieces.obj" id="1_ay8o3"]
[ext_resource type="Material" uid="uid://bwswvrsviiitw" path="res://test/assets/addons/caixa/extras/light_wood.tres" id="2_4k8xs"]
[ext_resource type="Material" uid="uid://dpfl6e3ivjnqf" path="res://test/assets/addons/caixa/extras/dark_wood.tres" id="3_234wr"]
[ext_resource type="ArrayMesh" uid="uid://68pbraju6q62" path="res://test/assets/addons/caixa/extras/break_pieces02.obj" id="4_515nx"]
[ext_resource type="ArrayMesh" uid="uid://b3rm12kmexhlw" path="res://test/assets/addons/caixa/extras/break_pieces03.obj" id="5_tkiwj"]
[ext_resource type="ArrayMesh" uid="uid://chjf62v6f8o2e" path="res://test/assets/addons/caixa/extras/break_pieces04.obj" id="6_h86at"]
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_ay8o3"]
points = PackedVector3Array(-0.16666579, -0.2359131, 0.027069435, 0.016581092, 0.25088516, 0.25, -0.24675927, 0.25088516, 0.25, -0.1666386, 0.26406828, -0.020568252, -0.24675927, -0.23068516, 0.25, -0.02224263, -0.20534675, 0.032899998, -0.021208273, -0.23028933, 0.24978353, 0.023790099, 0.21643679, -0.020568252, -0.25, 0.2568115, -0.016599705, -0.25, -0.23661149, 0.037389554, 0.023790099, 0.08945266, 0.1936926, -0.015905201, -0.24386826, 0.16990094, 0.023790099, 0.26406828, 0.16990094, -0.19839483, -0.053342342, 0.0032505915, -0.16666579, -0.24386826, 0.03500905, 0.017222306, 0.22936828, -0.0139999995, -0.22493547, -0.05046658, 0.008466577, 0.0146279335, 0.2028243, 0.24804671, -0.24444418, -0.21904194, 0.033327285)
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_4k8xs"]
points = PackedVector3Array(-0.087310925, 0.20654279, 0.031718053, -0.2499724, -0.2386162, -0.25, -0.021154512, -0.23161387, -0.24606004, -0.2499724, 0.25501618, -0.25, -0.25, -0.23866525, -0.04170106, 0.019399999, 0.25378314, -0.2493062, -2.4877489e-05, -0.20600027, -0.05558742, -0.25, 0.25506523, 0.020081732, 0.023803286, 0.21449637, 0.023776107, -0.04765325, -0.22190747, -0.023847602, 0.023803286, 0.2620688, -0.16663483, -0.015882358, -0.24566883, -0.16663483, -0.16665426, 0.2620688, 0.023776107, 0.031718038, 0.20654279, -0.09526918, 0.001978432, -0.059621565, -0.22417702, -0.03971052, -0.1980964, -0.015905656, -0.16665426, -0.24566883, -0.039731495, 0.0173, 0.22721556, 0.017273456, -0.16665426, -0.23776495, -0.03178955, -0.24289003, -0.16750522, -0.030599998, -0.095225684, 0.20654279, 0.031718053, -0.103168406, 0.23830745, 0.031718053, 0.031718038, 0.23830745, -0.10321112, -2.4877489e-05, -0.20600027, -0.06352936, -0.04765325, -0.1980964, -0.015905656, 0.031718038, 0.20654279, -0.087327234, -0.24350844, -0.21980037, -0.037583996)
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_234wr"]
points = PackedVector3Array(-0.026999999, -0.2404169, -0.25108978, 0.19917431, -0.0887946, 0.038482547, 0.0008025542, 0.2602688, -0.16781461, 0.25088423, 0.25340745, -0.2512, 0.25085703, -0.24060749, -0.2512, -0.030968249, -0.1998964, 0.038482547, 0.24575698, 0.2442959, -0.015387829, 0.2525682, -0.2436, 0.036245, 0.0062376824, 0.22524892, -0.0139999995, 0.0038048879, 0.25340745, -0.2512, -0.022997588, 0.093641, -0.19957697, 0.16743147, 0.2602688, -0.009146601, -0.030968249, -0.24746883, -0.16781461, 0.16743147, -0.24746883, 0.038482547, -0.0255, -0.21489945, 0.032862388, 0.2525682, -0.2436, -0.05756161, -0.030968249, -0.17608532, -0.056775752, 0.24556173, 0.18455006, -0.0081)
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_515nx"]
points = PackedVector3Array(-0.040016994, -0.22135252, 0.11332385, 0.25393826, -0.23239844, 0.2488, 0.0052424427, 0.24999844, 0.2488, 0.2539102, 0.24999844, 0.2488, 0.26151904, -0.15786046, 0.026056439, 0.254, 0.25014976, -0.022606626, 0.0075970665, 0.21513678, -0.029506102, -0.02492289, -0.23239844, 0.2488, 0.04727053, -0.22135252, 0.026027694, 0.174202, -0.24516827, 0.04192324, -0.00034352392, 0.26276827, 0.1688289, 0.22975665, 0.0801975, -0.02157271, -0.024165317, -0.19753678, 0.033961095, 0.174202, 0.26276827, -0.029506102, 0.254, -0.23250248, 0.045286275, -0.032105908, -0.24516827, 0.1688289, -0.008834627, 0.22555746, 0.07573463, 0.26151904, 0.024660587, 0.16885765, 0.03932994, -0.19753678, 0.018094294, 0.09485507, 0.20718163, -0.037468255, -0.040016994, -0.18958163, 0.105390444, -0.00068788545, 0.19452189, 0.24681288, 0.174202, -0.2372131, 0.033961095, 0.013936236, 0.22480884, -0.020972472, -0.032105908, -0.19753678, 0.049856644, 0.110736266, 0.23895252, -0.037468255, -0.02309322, -0.17706595, 0.2469195, -0.040016994, -0.18958163, 0.097485796, -0.040016994, -0.19753678, 0.11332385, -0.023373058, -0.20728329, 0.053493913, 0.04727053, -0.19753678, 0.018094294, 0.1980238, 0.0801975, -0.02157271)
[node name="Broken_creat" type="RigidBody3D" unique_id=1063748148]
script = ExtResource("1_4k8xs")
[node name="Broken 1" type="RigidBody3D" parent="." unique_id=1453640876]
visible = false
sleeping = true
freeze = true
[node name="BreakPieces" type="MeshInstance3D" parent="Broken 1" unique_id=404208764]
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0)
mesh = ExtResource("1_ay8o3")
surface_material_override/0 = ExtResource("2_4k8xs")
surface_material_override/1 = ExtResource("3_234wr")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Broken 1" unique_id=1622006673]
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0)
shape = SubResource("ConvexPolygonShape3D_ay8o3")
[node name="Broken 2" type="RigidBody3D" parent="." unique_id=845125777]
visible = false
sleeping = true
freeze = true
[node name="BreakPieces02" type="MeshInstance3D" parent="Broken 2" unique_id=1217537643]
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0)
mesh = ExtResource("4_515nx")
surface_material_override/0 = ExtResource("2_4k8xs")
surface_material_override/1 = ExtResource("3_234wr")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Broken 2" unique_id=1454591559]
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0)
shape = SubResource("ConvexPolygonShape3D_4k8xs")
[node name="Broken 3" type="RigidBody3D" parent="." unique_id=623102983]
visible = false
sleeping = true
freeze = true
[node name="BreakPieces03" type="MeshInstance3D" parent="Broken 3" unique_id=1695899911]
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0)
mesh = ExtResource("5_tkiwj")
surface_material_override/0 = ExtResource("2_4k8xs")
surface_material_override/1 = ExtResource("3_234wr")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Broken 3" unique_id=2088530205]
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0)
shape = SubResource("ConvexPolygonShape3D_234wr")
[node name="Broken 4" type="RigidBody3D" parent="." unique_id=908985385]
visible = false
sleeping = true
freeze = true
[node name="BreakPieces04" type="MeshInstance3D" parent="Broken 4" unique_id=830032022]
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0)
mesh = ExtResource("6_h86at")
surface_material_override/0 = ExtResource("2_4k8xs")
surface_material_override/1 = ExtResource("3_234wr")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Broken 4" unique_id=304660890]
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0)
shape = SubResource("ConvexPolygonShape3D_515nx")
[node name="stop_move" type="Timer" parent="." unique_id=687048039]