mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-19 05:03:47 +00:00
Trenchbroom support for health and destruction
This commit is contained in:
parent
e23d337a16
commit
823886b4ce
19 changed files with 2064 additions and 1398 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue