Rigidbody3D functional prototype

This commit is contained in:
2025-02-02 20:00:55 -05:00
parent 1550f57f5d
commit 54352990fd
9 changed files with 1550 additions and 74 deletions

View File

@@ -1,7 +1,9 @@
[gd_scene load_steps=6 format=3 uid="uid://deah8x3tnm045"]
[gd_scene load_steps=9 format=3 uid="uid://deah8x3tnm045"]
[ext_resource type="PackedScene" uid="uid://bfhw7682gnh22" path="res://core/levels/test_level.tscn" id="1_ylfl7"]
[ext_resource type="PackedScene" uid="uid://dwvmna8qc0vb4" path="res://core/drone/drone.tscn" id="2_orkyq"]
[ext_resource type="Script" path="res://core/scripts/camera_3d.gd" id="3_sec6q"]
[ext_resource type="Script" path="res://core/scripts/los_view.gd" id="3_supaf"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_rtxf7"]
sky_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
@@ -16,6 +18,13 @@ sky = SubResource("Sky_dsv6k")
tonemap_mode = 2
glow_enabled = true
[sub_resource type="Curve" id="Curve_nxnkk"]
min_value = 1.0
max_value = 90.0
bake_resolution = 1
_data = [Vector2(0, 90), 0.0, -220.055, 0, 0, Vector2(0.0753138, 59.5526), -282.238, -282.238, 0, 0, Vector2(0.449093, 7.72959), -32.7953, -32.7953, 0, 0, Vector2(0.994421, 1), -7.74656, 0.0, 0, 0]
point_count = 4
[node name="Main" type="Node3D"]
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
@@ -29,3 +38,13 @@ environment = SubResource("Environment_ruppb")
[node name="Drone" parent="." instance=ExtResource("2_orkyq")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.017014, 0)
[node name="LOSView" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.23896, 0.638642, -1.134)
script = ExtResource("3_supaf")
zoom_curve = SubResource("Curve_nxnkk")
[node name="LOSCamera3D" type="Camera3D" parent="LOSView"]
near = 0.002
far = 8000.0
script = ExtResource("3_sec6q")