Add Procedural Map

This commit is contained in:
Matteo Sonaglioni
2026-03-11 13:05:36 +01:00
parent f7b334b21c
commit 47380d3137
29 changed files with 1568 additions and 179 deletions

View File

@@ -2,24 +2,44 @@
[ext_resource type="PackedScene" uid="uid://0uakvynj7hyp" path="res://Assets/Meshes/Chunk/Rotaie/Chunk_Curva_1.fbx" id="1_rsn8b"]
[ext_resource type="Material" uid="uid://cit5uciejjoou" path="res://Materials/Grass_Chunk.tres" id="2_024mu"]
[ext_resource type="Script" uid="uid://byluxssk112ca" path="res://Test_Procedurale/info_chunk.gd" id="2_one63"]
[ext_resource type="Material" uid="uid://d1xcve6aswe3d" path="res://Materials/TrainChunk.tres" id="3_one63"]
[sub_resource type="BoxShape3D" id="BoxShape3D_024mu"]
size = Vector3(20, 10, 20)
[node name="Chunk_Curva_1" unique_id=1316208881 instance=ExtResource("1_rsn8b")]
script = ExtResource("2_one63")
tipo_chunk = 2
nord = true
ovest = true
[node name="Chunk_052" parent="." index="0" unique_id=2099348783]
surface_material_override/0 = ExtResource("2_024mu")
surface_material_override/1 = ExtResource("3_one63")
[node name="Punto_1" type="Marker3D" parent="." index="1" unique_id=663165533]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -29.939285, 0, 19.927612)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -29.939285, 0.6703129, 19.927612)
[node name="Punto_2" type="Marker3D" parent="." index="2" unique_id=1588831294]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.967065, 0, 2.9334993)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.967065, 0.6703129, 2.9334993)
[node name="Punto_3" type="Marker3D" parent="." index="3" unique_id=1880909982]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 20.009787, 0, -30.014425)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 20.009787, 0.6703129, -30.014425)
[node name="StaticBody3D" type="StaticBody3D" parent="." index="4" unique_id=1064823765]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" index="0" unique_id=1818341029]
transform = Transform3D(0.9846686, 0, 0, 0, 1, 0, 0, 0, 0.9829565, 0, 4, 0)
shape = SubResource("BoxShape3D_024mu")
[node name="CollisionShape3D4" type="CollisionShape3D" parent="StaticBody3D" index="1" unique_id=461456361]
transform = Transform3D(0.98379064, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4, 20)
shape = SubResource("BoxShape3D_024mu")
[node name="CollisionShape3D5" type="CollisionShape3D" parent="StaticBody3D" index="2" unique_id=251445593]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 0.96314967, -20, 4, 20)
shape = SubResource("BoxShape3D_024mu")
[node name="CollisionShape3D2" type="CollisionShape3D" parent="StaticBody3D" index="3" unique_id=338866839]
transform = Transform3D(0.98147476, 0, 0, 0, 1, 0, 0, 0, 0.96418273, 20, 4, 0)
shape = SubResource("BoxShape3D_024mu")
[node name="CollisionShape3D3" type="CollisionShape3D" parent="StaticBody3D" index="4" unique_id=1818224311]
transform = Transform3D(0.96474355, 0, 0, 0, 1, 0, 0, 0, 0.9695626, 20, 4, -20)
shape = SubResource("BoxShape3D_024mu")