add DirectionalLight and setup input methods

This commit is contained in:
Tristan Šneider
2024-03-11 16:12:35 +01:00
parent 2c69bca82f
commit 6e210c2a5f
2 changed files with 39 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ points = PackedVector3Array(-66.5774, -8.87646, 19.4626, -36.735, 0.304567, 7.99
script = ExtResource("1_lrw8a")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Plane"]
gi_mode = 2
mesh = ExtResource("1_s05fj")
skeleton = NodePath("../..")
@@ -50,3 +51,6 @@ 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="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2814.34, 0, 0)