diff options
Diffstat (limited to 'prefabs/bsp_level_generator.tscn')
-rw-r--r-- | prefabs/bsp_level_generator.tscn | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/prefabs/bsp_level_generator.tscn b/prefabs/bsp_level_generator.tscn index ea0cfd7..f9e05db 100644 --- a/prefabs/bsp_level_generator.tscn +++ b/prefabs/bsp_level_generator.tscn @@ -1,11 +1,22 @@ -[gd_scene load_steps=3 format=3 uid="uid://w7hxcvuvud"] +[gd_scene load_steps=4 format=3 uid="uid://w7hxcvuvud"] [ext_resource type="Script" path="res://scripts/bsp_level_generator.gd" id="1_6jn1x"] +[sub_resource type="ArrayMesh" id="ArrayMesh_xgab6"] + [sub_resource type="NavigationMesh" id="NavigationMesh_q1fo6"] +geometry_parsed_geometry_type = 1 +geometry_collision_mask = 4294967041 [node name="BspLevelGenerator" type="Node3D"] script = ExtResource("1_6jn1x") +[node name="MeshInstance3D" type="MeshInstance3D" parent="."] +mesh = SubResource("ArrayMesh_xgab6") + [node name="NavigationRegion3D" type="NavigationRegion3D" parent="."] navigation_mesh = SubResource("NavigationMesh_q1fo6") + +[node name="StaticBody3D" type="StaticBody3D" parent="NavigationRegion3D"] + +[node name="CollisionShape3D" type="CollisionShape3D" parent="NavigationRegion3D/StaticBody3D"] |