Trenchbroom support for health and destruction

This commit is contained in:
Marco 2025-08-27 18:17:17 +02:00
commit 823886b4ce
19 changed files with 2064 additions and 1398 deletions

View file

@ -32,15 +32,15 @@ shape = SubResource("BoxShape3D_hsg1w")
[node name="blockbench_export" parent="." instance=ExtResource("1_03sp0")]
[node name="Node" type="Area3D" parent="."]
[node name="Gravity" type="Area3D" parent="."]
collision_layer = 0
collision_mask = 17
script = ExtResource("5_jb4do")
FallingSpeed = -2.0
[node name="CollisionShape3D" type="CollisionShape3D" parent="Node"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Gravity"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.024291992, -0.19599915, 0.013088226)
shape = SubResource("BoxShape3D_6tetb")
[connection signal="body_entered" from="Node" to="Node" method="OnBodyEntered"]
[connection signal="body_exited" from="Node" to="Node" method="OnBodyExited"]
[connection signal="body_entered" from="Gravity" to="Gravity" method="OnBodyEntered"]
[connection signal="body_exited" from="Gravity" to="Gravity" method="OnBodyExited"]