levels
This commit is contained in:
parent
22c132ca78
commit
6307a95c25
10 changed files with 156 additions and 20 deletions
20
kill_block.tscn
Normal file
20
kill_block.tscn
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://vj1tnhm3726q"]
|
||||
|
||||
[ext_resource type="Material" uid="uid://br3erknm4b1i0" path="res://Assets/Materials/kill.tres" id="1_2ed3b"]
|
||||
[ext_resource type="Script" path="res://Scripts/kill_block.gd" id="1_pvkd4"]
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_j8om8"]
|
||||
material = ExtResource("1_2ed3b")
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_j8noh"]
|
||||
|
||||
[node name="KillBlock" type="Area3D" node_paths=PackedStringArray("mesh", "collider")]
|
||||
script = ExtResource("1_pvkd4")
|
||||
mesh = NodePath("MeshInstance3D")
|
||||
collider = NodePath("CollisionShape3D")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
mesh = SubResource("BoxMesh_j8om8")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("BoxShape3D_j8noh")
|
||||
Loading…
Add table
Add a link
Reference in a new issue