mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-16 09:53:48 +00:00
Destroyable props
This commit is contained in:
parent
93469062a1
commit
44ebc70448
52 changed files with 1387 additions and 18428 deletions
|
|
@ -6,6 +6,7 @@
|
|||
size = Vector3(0.994617, 1.07367, 0.540756)
|
||||
|
||||
[node name="AcUnit" type="StaticBody3D"]
|
||||
collision_layer = 16
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00414919, 0.0126071, -0.00992589)
|
||||
|
|
|
|||
|
|
@ -1,11 +1,15 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://br01ww57uaky5"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://br01ww57uaky5"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ccxnvbthsvka3" path="res://Scripts/Actors/Destructible3D.cs" id="1_hsg1w"]
|
||||
[ext_resource type="PackedScene" uid="uid://hxn4awevjyui" path="res://3D/BlockbenchModels/Box/Box_Blue.gltf" id="1_ropdl"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_hsg1w"]
|
||||
size = Vector3(0.763428, 0.469452, 0.77832)
|
||||
|
||||
[node name="BoxBlue" type="StaticBody3D"]
|
||||
[node name="BoxBlue" type="StaticBody3D" groups=["Destroyable"]]
|
||||
collision_layer = 16
|
||||
collision_mask = 0
|
||||
script = ExtResource("1_hsg1w")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00549316, 0.0253752, -0.000488281)
|
||||
|
|
|
|||
|
|
@ -1,11 +1,15 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://c8wwioforxms3"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://c8wwioforxms3"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://c5k6rsawax3gf" path="res://3D/BlockbenchModels/Box/Box_Green.gltf" id="1_03sp0"]
|
||||
[ext_resource type="Script" uid="uid://ccxnvbthsvka3" path="res://Scripts/Actors/Destructible3D.cs" id="1_e6kl3"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_hsg1w"]
|
||||
size = Vector3(0.763428, 0.469452, 0.77832)
|
||||
|
||||
[node name="BoxBlue" type="StaticBody3D"]
|
||||
[node name="BoxBlue" type="StaticBody3D" groups=["Destroyable"]]
|
||||
collision_layer = 16
|
||||
collision_mask = 0
|
||||
script = ExtResource("1_e6kl3")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00549316, 0.0253752, -0.000488281)
|
||||
|
|
|
|||
|
|
@ -1,11 +1,15 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://jffyxmft3nbw"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://jffyxmft3nbw"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://ninnis3a3jbn" path="res://3D/BlockbenchModels/Box/Box_Red.gltf" id="1_fi646"]
|
||||
[ext_resource type="Script" uid="uid://ccxnvbthsvka3" path="res://Scripts/Actors/Destructible3D.cs" id="1_kvqx7"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_hsg1w"]
|
||||
size = Vector3(0.763428, 0.469452, 0.77832)
|
||||
|
||||
[node name="BoxRed" type="StaticBody3D"]
|
||||
[node name="BoxRed" type="StaticBody3D" groups=["Destroyable"]]
|
||||
collision_layer = 16
|
||||
collision_mask = 0
|
||||
script = ExtResource("1_kvqx7")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00549316, 0.0253752, -0.000488281)
|
||||
|
|
|
|||
|
|
@ -1,11 +1,15 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://c6cdl3y3i3axl"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://c6cdl3y3i3axl"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cpwolnoq46foq" path="res://3D/BlockbenchModels/Box/Box_Yellow.gltf" id="1_0rxnx"]
|
||||
[ext_resource type="Script" uid="uid://ccxnvbthsvka3" path="res://Scripts/Actors/Destructible3D.cs" id="1_l0sp5"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_hsg1w"]
|
||||
size = Vector3(0.763428, 0.469452, 0.77832)
|
||||
|
||||
[node name="BoxBlue" type="StaticBody3D"]
|
||||
[node name="BoxBlue" type="StaticBody3D" groups=["Destroyable"]]
|
||||
collision_layer = 16
|
||||
collision_mask = 0
|
||||
script = ExtResource("1_l0sp5")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00549316, 0.0253752, -0.000488281)
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
size = Vector3(0.796058, 1.47291, 0.740692)
|
||||
|
||||
[node name="Capacitor" type="StaticBody3D"]
|
||||
collision_layer = 16
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00640631, 0.29627, 0.0265655)
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
height = 0.882874
|
||||
|
||||
[node name="BoxBlue" type="StaticBody3D"]
|
||||
collision_layer = 17
|
||||
collision_layer = 16
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
|
|
|
|||
|
|
@ -1,10 +1,14 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://bubtvv3pa06py"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://bubtvv3pa06py"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://b12y0mtx6ibo8" path="res://3D/BlockbenchModels/Door/Door.gltf" id="1_7axon"]
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_y1ovr"]
|
||||
|
||||
[node name="Door3d" type="Node3D"]
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_7axon"]
|
||||
size = Vector3(1.99927, 2.00482, 0.140869)
|
||||
|
||||
[node name="Door3d" type="AnimatableBody3D"]
|
||||
collision_layer = 16
|
||||
|
||||
[node name="blockbench_export" parent="." instance=ExtResource("1_7axon")]
|
||||
|
||||
|
|
@ -12,3 +16,7 @@
|
|||
libraries = {
|
||||
&"": SubResource("AnimationLibrary_y1ovr")
|
||||
}
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00500488, 0.00234985, -0.00524902)
|
||||
shape = SubResource("BoxShape3D_7axon")
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ point_count = 2
|
|||
[node name="Door" type="Path3D" node_paths=PackedStringArray("Elevator")]
|
||||
curve = SubResource("Curve3D_dobkm")
|
||||
script = ExtResource("1_dobkm")
|
||||
TargetName = &""
|
||||
Elevator = NodePath("PathFollow3D")
|
||||
|
||||
[node name="PathFollow3D" type="PathFollow3D" parent="."]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,8 @@
|
|||
height = 0.160095
|
||||
radius = 0.44043
|
||||
|
||||
[node name="TubeJunction" type="StaticBody3D"]
|
||||
[node name="TubeJunction" type="StaticBody3D" groups=["Solid"]]
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.109167, -0.239903, -0.1134)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@
|
|||
[sub_resource type="BoxShape3D" id="BoxShape3D_hsg1w"]
|
||||
size = Vector3(1.01587, 0.868431, 0.871704)
|
||||
|
||||
[node name="TubeJunction" type="StaticBody3D"]
|
||||
[node name="TubeJunction" type="StaticBody3D" groups=["Solid"]]
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00793457, 0.00475672, 0.0043335)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
[sub_resource type="BoxShape3D" id="BoxShape3D_hsg1w"]
|
||||
size = Vector3(1.01587, 0.868431, 0.871704)
|
||||
|
||||
[node name="TubeStraight" type="StaticBody3D"]
|
||||
[node name="TubeStraight" type="StaticBody3D" groups=["Solid"]]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00793457, 0.00475672, 0.0043335)
|
||||
|
|
|
|||
|
|
@ -1,11 +1,15 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://d2kqcbr5rufxb"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://d2kqcbr5rufxb"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://etmm2bm8mj06" path="res://3D/BlockbenchModels/WoodenBox/Wooden_Box.gltf" id="1_2t24b"]
|
||||
[ext_resource type="Script" uid="uid://ccxnvbthsvka3" path="res://Scripts/Actors/Destructible3D.cs" id="1_nnmn3"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_hsg1w"]
|
||||
size = Vector3(1, 0.498138, 0.543457)
|
||||
|
||||
[node name="BoxTest" type="StaticBody3D"]
|
||||
[node name="BoxTest" type="StaticBody3D" groups=["Destroyable"]]
|
||||
collision_layer = 16
|
||||
collision_mask = 0
|
||||
script = ExtResource("1_nnmn3")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0022127, -0.0178223)
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
size = Vector3(2.05377, 0.101501, 2.00244)
|
||||
|
||||
[node name="Elevator" type="AnimatableBody3D"]
|
||||
collision_layer = 16
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00820923, 0.0038147, -0.000732422)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue