From 73d0acff28c9f09e99660a220c0299a8a3732df8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20=C5=A0neider?= Date: Mon, 18 Mar 2024 12:23:36 +0100 Subject: [PATCH] update root scene --- root.tscn | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/root.tscn b/root.tscn index b9860f2..c2c2067 100644 --- a/root.tscn +++ b/root.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=9 format=3 uid="uid://jyfdp63cqe86"] +[gd_scene load_steps=12 format=3 uid="uid://jyfdp63cqe86"] [ext_resource type="Script" path="res://Plane.gd" id="1_lrw8a"] [ext_resource type="ArrayMesh" uid="uid://bcu2a8j38llu7" path="res://ladje/33.obj" id="1_s05fj"] @@ -21,9 +21,20 @@ points = PackedVector3Array(-25.2567, 9.48964, -8.08426, -36.7336, -6.58187, -5. [sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_tmnsn"] points = PackedVector3Array(-66.5774, -8.87646, 19.4626, -36.735, 0.304567, 7.99422, -36.735, -6.58187, 7.99422, -35.3992, 0.805438, -14.4259, -64.2799, -6.58187, 33.2436, -64.2799, -13.4683, 24.0594, -39.0361, -4.28729, 24.0594, -39.0361, -6.58187, -8.08044, -66.5774, -13.4683, 35.542, -45.9214, 0.304567, -1.18995, -73.4663, -8.87646, 28.6515, -48.2189, -1.99136, 26.3578, -50.5128, -6.58187, -1.18995, -73.4663, -13.4683, 28.6515, -39.0361, -6.58187, 21.7658, -43.6275, 0.304567, 14.8753, -73.4663, -8.87646, 33.2436, -39.0361, -1.99136, 24.0594, -45.9214, -1.99136, -5.78204, -36.735, -6.58187, -8.08044, -64.2799, -8.87646, 35.542, -45.9214, -6.58187, -5.78204, -52.8103, -1.99136, 19.4626, -64.2799, -13.4683, 33.2436, -39.0361, -4.28729, -12.6725, -68.8749, -13.4683, 24.0594, -71.1688, -13.4683, 35.542, -43.6275, -6.58187, 26.3578, -39.0361, 0.304567, 14.8753, -39.0361, 0.304567, -12.6725, -71.1688, -8.87646, 35.542, -50.5128, -4.28729, -1.18995) +[sub_resource type="Sky" id="Sky_qe20h"] + +[sub_resource type="Environment" id="Environment_dded2"] +background_mode = 2 +background_energy_multiplier = 5.12 +sky = SubResource("Sky_qe20h") +sky_custom_fov = 7.1 + +[sub_resource type="CameraAttributesPhysical" id="CameraAttributesPhysical_6ar3h"] + [node name="Root" type="Node3D"] [node name="Plane" type="RigidBody3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 168.913) script = ExtResource("1_lrw8a") [node name="MeshInstance3D" type="MeshInstance3D" parent="Plane"] @@ -32,25 +43,36 @@ mesh = ExtResource("1_s05fj") skeleton = NodePath("../..") [node name="@CollisionShape3D@24631" type="CollisionShape3D" parent="Plane"] +visible = false shape = SubResource("ConvexPolygonShape3D_1t0ch") [node name="@CollisionShape3D@24630" type="CollisionShape3D" parent="Plane"] +visible = false shape = SubResource("ConvexPolygonShape3D_e40m1") [node name="@CollisionShape3D@24629" type="CollisionShape3D" parent="Plane"] +visible = false shape = SubResource("ConvexPolygonShape3D_ahw13") [node name="@CollisionShape3D@24628" type="CollisionShape3D" parent="Plane"] +visible = false shape = SubResource("ConvexPolygonShape3D_v125o") [node name="@CollisionShape3D@24627" type="CollisionShape3D" parent="Plane"] +visible = false shape = SubResource("ConvexPolygonShape3D_eplg0") [node name="CollisionShape3D" type="CollisionShape3D" parent="Plane"] +visible = false shape = SubResource("ConvexPolygonShape3D_tmnsn") [node name="HUD" type="Camera3D" parent="Plane"] transform = Transform3D(1, -3.18388e-16, 3.4746e-16, 3.4746e-16, 0.996195, -0.0871557, -3.18388e-16, 0.0871557, 0.996195, 2.08165e-12, 50, 80) +[node name="WorldEnvironment" type="WorldEnvironment" parent="."] +environment = SubResource("Environment_dded2") +camera_attributes = SubResource("CameraAttributesPhysical_6ar3h") + [node name="DirectionalLight3D" type="DirectionalLight3D" parent="."] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2814.34, 0, 0) +transform = Transform3D(1, 0, 0, 0, -0.767926, 0.640539, 0, -0.640539, -0.767926, 0, 0, -4.11649) +sky_mode = 1