diff options
Diffstat (limited to 'scenes/main.tscn')
-rw-r--r-- | scenes/main.tscn | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/scenes/main.tscn b/scenes/main.tscn index 0bdb8b7..fb249bc 100644 --- a/scenes/main.tscn +++ b/scenes/main.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=6 format=3 uid="uid://bb55ocpenupao"] +[gd_scene load_steps=8 format=3 uid="uid://bb55ocpenupao"] [ext_resource type="Script" path="res://scripts/level_gen.gd" id="1_sfx65"] [ext_resource type="Script" path="res://scripts/fly_camera.gd" id="2_ba28s"] @@ -12,6 +12,12 @@ background_color = Color(0.658824, 0.658824, 0.658824, 1) ambient_light_source = 2 ambient_light_color = Color(1, 1, 1, 1) +[sub_resource type="BoxShape3D" id="BoxShape3D_gtg8d"] +size = Vector3(200, 1, 200) + +[sub_resource type="PlaneMesh" id="PlaneMesh_ypd0i"] +size = Vector2(200, 200) + [node name="Node3D" type="Node3D"] script = ExtResource("1_sfx65") @@ -29,3 +35,13 @@ mesh = SubResource("BoxMesh_2l1xl") [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = SubResource("Environment_w27kj") + +[node name="Water" type="StaticBody3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 100, 0, 90) + +[node name="CollisionShape3D" type="CollisionShape3D" parent="Water"] +shape = SubResource("BoxShape3D_gtg8d") + +[node name="MeshInstance3D2" type="MeshInstance3D" parent="Water"] +mesh = SubResource("PlaneMesh_ypd0i") +skeleton = NodePath("../..") |