Chairs and filing cabinets

This commit is contained in:
Marco 2025-09-15 15:08:13 +02:00
commit f46d3ad994
22 changed files with 629 additions and 236 deletions

View file

@ -0,0 +1,30 @@
[gd_scene load_steps=6 format=3 uid="uid://dmwtysh7eijon"]
[ext_resource type="Script" uid="uid://ccxnvbthsvka3" path="res://Scripts/Actors/Destructible3D.cs" id="1_q4vm8"]
[ext_resource type="Resource" uid="uid://bpreje4f8ok62" path="res://Resources/Bullets/3D/Explosion_3D.tres" id="2_hbvng"]
[ext_resource type="Script" uid="uid://ddsqqfx1usc3j" path="res://Scripts/Resources/DamageResistance.cs" id="3_jiv17"]
[ext_resource type="SpriteFrames" uid="uid://sg77hbw6lo6r" path="res://Resources/Sprites/Chair.tres" id="5_265cv"]
[sub_resource type="CylinderShape3D" id="CylinderShape3D_2libs"]
height = 0.564575
radius = 0.321777
[node name="StaticBody3D" type="StaticBody3D" groups=["Destroyable"]]
collision_layer = 16
collision_mask = 0
script = ExtResource("1_q4vm8")
Indestructible = true
ExplosionData = ExtResource("2_hbvng")
DamageResistances = Array[ExtResource("3_jiv17")]([])
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0376587, 0)
shape = SubResource("CylinderShape3D_2libs")
[node name="AnimatedSprite3D" type="AnimatedSprite3D" parent="."]
transform = Transform3D(0.70710677, -0.49999997, 0.49999997, 0, 0.70710677, 0.70710677, -0.70710677, -0.49999997, 0.49999997, 0, 0, 0)
pixel_size = 0.05
texture_filter = 0
sprite_frames = ExtResource("5_265cv")
animation = &"Spin"
frame_progress = 0.36955565

View file

@ -0,0 +1,15 @@
[gd_scene load_steps=3 format=3 uid="uid://ckcp087lqlsge"]
[ext_resource type="PackedScene" uid="uid://c8wundtddmiaa" path="res://3D/BlockbenchModels/FilingCabinet/Filing_Cabinet.gltf" id="1_ja0jw"]
[sub_resource type="BoxShape3D" id="BoxShape3D_hsg1w"]
size = Vector3(0.994617, 1.07367, 0.540756)
[node name="FilingCabinet" 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)
shape = SubResource("BoxShape3D_hsg1w")
[node name="blockbench_export" parent="." instance=ExtResource("1_ja0jw")]