new build mechanic
This commit is contained in:
@@ -1,10 +1,28 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://bj7y7q2qkpnci"]
|
||||
[gd_scene load_steps=11 format=3 uid="uid://bj7y7q2qkpnci"]
|
||||
|
||||
[ext_resource type="ArrayMesh" uid="uid://622ethh2pdfa" path="res://Blends/road/road.obj" id="4_jjvhh"]
|
||||
[ext_resource type="PackedScene" uid="uid://dim2geqhn6d35" path="res://Scenes/Prefabs/cart.tscn" id="6_21xkr"]
|
||||
[ext_resource type="PackedScene" uid="uid://dy03tqug33fep" path="res://Blends/ground.blend" id="6_344ge"]
|
||||
[ext_resource type="Script" uid="uid://drrp1k2q71hq2" path="res://Scripts/camera_3d.gd" id="7_6bp64"]
|
||||
|
||||
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_jjvhh"]
|
||||
sky_top_color = Color(0.654771, 0.60129, 0.578102, 1)
|
||||
sky_horizon_color = Color(0.866942, 0.845822, 0.831025, 1)
|
||||
ground_horizon_color = Color(0.866942, 0.845822, 0.831025, 1)
|
||||
|
||||
[sub_resource type="Sky" id="Sky_kry3j"]
|
||||
sky_material = SubResource("ProceduralSkyMaterial_jjvhh")
|
||||
|
||||
[sub_resource type="Environment" id="Environment_21xkr"]
|
||||
background_mode = 2
|
||||
sky = SubResource("Sky_kry3j")
|
||||
tonemap_mode = 2
|
||||
ssao_enabled = true
|
||||
glow_enabled = true
|
||||
fog_mode = 1
|
||||
fog_density = 1.0
|
||||
fog_depth_curve = 4.75681
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_21xkr"]
|
||||
lifetime_randomness = 0.55
|
||||
emission_shape = 3
|
||||
@@ -18,7 +36,10 @@ size = Vector2(0.5, 0.5)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_21xkr"]
|
||||
|
||||
[node name="Node3D" type="Node3D"]
|
||||
[node name="Main" type="Node3D"]
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_21xkr")
|
||||
|
||||
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||
transform = Transform3D(-0.866025, -0.5, -2.18557e-08, 0, -4.37114e-08, 1, -0.5, 0.866025, 3.78552e-08, 0, 0, 0)
|
||||
@@ -30,13 +51,13 @@ mesh = ExtResource("4_jjvhh")
|
||||
skeleton = NodePath("../Road")
|
||||
|
||||
[node name="Road" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(10.9512, 0, 0, 0, 1, 0, 0, 0, 1, -53.9758, 37.1737, -62.1734)
|
||||
transform = Transform3D(10.9512, 0, 0, 0, 1, 0, 0, 0, 1, -54.4288, 36.9927, -61.8752)
|
||||
mesh = ExtResource("4_jjvhh")
|
||||
|
||||
[node name="GPUParticles3D" type="GPUParticles3D" parent="."]
|
||||
transform = Transform3D(3.70763, 0, 0, 0, 2.24982, 0, 0, 0, 3.71542, -7.77808, 47.2887, -60.0289)
|
||||
emitting = false
|
||||
amount = 500
|
||||
amount = 1006
|
||||
speed_scale = 5.17
|
||||
randomness = 1.0
|
||||
trail_lifetime = 1.01
|
||||
@@ -62,7 +83,7 @@ axis_lock_angular_z = true
|
||||
mass = 0.001
|
||||
gravity_scale = 0.0
|
||||
|
||||
[node name="Camera3D" type="Camera3D" parent="RigidBody3D" node_paths=PackedStringArray("ownRigidBody", "endZoom")]
|
||||
[node name="Camera3D" type="Camera3D" parent="RigidBody3D" node_paths=PackedStringArray("ownRigidBody", "endZoom", "particlesSystem", "worldEnvironmentSystem")]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 17.894, 14)
|
||||
current = true
|
||||
script = ExtResource("7_6bp64")
|
||||
@@ -70,6 +91,8 @@ rayLength = 1000.0
|
||||
camera_speed = 2.0
|
||||
ownRigidBody = NodePath("..")
|
||||
endZoom = NodePath("../endZoom")
|
||||
particlesSystem = NodePath("../../GPUParticles3D")
|
||||
worldEnvironmentSystem = NodePath("../../WorldEnvironment")
|
||||
|
||||
[node name="DebugLabel1" type="Label" parent="RigidBody3D/Camera3D"]
|
||||
offset_right = 40.0
|
||||
|
||||
Reference in New Issue
Block a user