Looking into room collisions we need; set up plastique behavior

This commit is contained in:
2026-01-25 19:40:59 -08:00
parent 865934399d
commit e63a94210c
12 changed files with 1649 additions and 50 deletions

View File

@@ -1,6 +1,7 @@
[gd_scene load_steps=197 format=4 uid="uid://dwy8ud6yblms7"]
[gd_scene load_steps=199 format=4 uid="uid://dwy8ud6yblms7"]
[ext_resource type="Texture2D" uid="uid://2uap1c4royqy" path="res://src/map/assets/Explodable Wall/Wall Explosion_bombable.png" id="1_6rkhk"]
[ext_resource type="Script" uid="uid://cbuxsrtv0vkn3" path="res://src/map/dungeon/code/ExplodableWall.cs" id="1_ovv1n"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_10fcu"]
resource_name = "Material.001"
@@ -5125,7 +5126,11 @@ _data = {
&"Animation": SubResource("Animation_g542u")
}
[node name="Node3D" type="Node3D"]
[sub_resource type="BoxShape3D" id="BoxShape3D_ovv1n"]
size = Vector3(5.63403, 5.18176, 2.3139)
[node name="ExplodableWall" type="Node3D"]
script = ExtResource("1_ovv1n")
[node name="Wall Explosion" type="Node3D" parent="."]
@@ -5514,6 +5519,15 @@ mesh = SubResource("ArrayMesh_onvoy")
skeleton = NodePath("")
[node name="AnimationPlayer" type="AnimationPlayer" parent="Wall Explosion"]
unique_name_in_owner = true
libraries = {
&"": SubResource("AnimationLibrary_1bpfx")
}
[node name="Area3D" type="Area3D" parent="."]
collision_layer = 8192
collision_mask = 0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.130981, 2.09088, 0.0763245)
shape = SubResource("BoxShape3D_ovv1n")