diff options
Diffstat (limited to 'scenes/main.tscn')
-rw-r--r-- | scenes/main.tscn | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/scenes/main.tscn b/scenes/main.tscn index cf072fa..fba8f18 100644 --- a/scenes/main.tscn +++ b/scenes/main.tscn @@ -1,8 +1,9 @@ -[gd_scene load_steps=8 format=3 uid="uid://bb55ocpenupao"] +[gd_scene load_steps=11 format=3 uid="uid://bb55ocpenupao"] [ext_resource type="Script" path="res://scripts/level_gen.gd" id="1_sfx65"] [ext_resource type="PackedScene" uid="uid://dsq68sqy2ldjm" path="res://prefab/player.tscn" id="3_8dect"] [ext_resource type="Material" uid="uid://uiwp0gpofjrx" path="res://materials/terrain.tres" id="3_nsy4g"] +[ext_resource type="PackedScene" uid="uid://2a3fyuye46hm" path="res://prefab/rock.tscn" id="3_so64k"] [sub_resource type="BoxMesh" id="BoxMesh_2l1xl"] material = ExtResource("3_nsy4g") @@ -18,6 +19,12 @@ size = Vector3(200, 1, 200) [sub_resource type="PlaneMesh" id="PlaneMesh_ypd0i"] size = Vector2(200, 200) +[sub_resource type="BoxShape3D" id="BoxShape3D_kjqqf"] +size = Vector3(3, 10, 3) + +[sub_resource type="BoxMesh" id="BoxMesh_f2n6h"] +size = Vector3(3, 10, 3) + [node name="Node3D" type="Node3D"] script = ExtResource("1_sfx65") @@ -32,6 +39,9 @@ mesh = SubResource("BoxMesh_2l1xl") [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = SubResource("Environment_w27kj") +[node name="Rock" parent="WorldEnvironment" instance=ExtResource("3_so64k")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 11.6853, 2, 0) + [node name="Water" type="StaticBody3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 100, 0, 90) @@ -44,3 +54,12 @@ skeleton = NodePath("../..") [node name="Player" parent="." instance=ExtResource("3_8dect")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18.7109, 0, 0) + +[node name="StaticBody3D" type="StaticBody3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.7194, 5, -6.35033) + +[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"] +shape = SubResource("BoxShape3D_kjqqf") + +[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody3D"] +mesh = SubResource("BoxMesh_f2n6h") |