feat: Change station area

This commit is contained in:
Dusk 2026-03-05 16:43:25 +01:00
parent 0b80d80a99
commit ff73ea78c7
2 changed files with 15 additions and 7 deletions

View File

@ -3,5 +3,5 @@ extends Node3D
func _ready() -> void:
$Mesh.mesh.size.x = Global.chunk_size
$Mesh.mesh.size.y = Global.chunk_size
$StationArea/CollisionShape3D.shape.size.x = Global.chunk_size * 0.50
$StationArea/CollisionShape3D.shape.size.z = Global.chunk_size * 0.50
#$StationArea/CollisionShape3D.shape.size.x = Global.chunk_size * 0.50
#$StationArea/CollisionShape3D.shape.size.z = Global.chunk_size * 0.50

View File

@ -15,7 +15,7 @@ radius = 24.892
height = 134.805
[sub_resource type="BoxShape3D" id="BoxShape3D_lu35c"]
size = Vector3(120, 20, 120)
size = Vector3(14.698975, 20, 93.01605)
[sub_resource type="BoxMesh" id="BoxMesh_lu35c"]
size = Vector3(100, 30, 10)
@ -39,7 +39,10 @@ size = Vector3(3, 6, 6)
[sub_resource type="PlaneMesh" id="PlaneMesh_oblqs"]
size = Vector2(6, 2)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_k7ugr"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_qalsi"]
albedo_texture = ExtResource("3_sum1q")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_87b1w"]
albedo_texture = ExtResource("3_sum1q")
[sub_resource type="PrismMesh" id="PrismMesh_sum1q"]
@ -52,6 +55,10 @@ albedo_color = Color(0.27, 0.27, 0.27, 0.49411765)
[sub_resource type="PlaneMesh" id="PlaneMesh_sum1q"]
size = Vector2(50, 10)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_k7ugr"]
transparency = 1
albedo_texture = ExtResource("3_sum1q")
[sub_resource type="CylinderMesh" id="CylinderMesh_oblqs"]
top_radius = 15.0
bottom_radius = 15.0
@ -78,6 +85,7 @@ mesh = SubResource("CapsuleMesh_lu35c")
[node name="StationArea" type="Area3D" parent="." unique_id=206017994]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StationArea" unique_id=793426973]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.7340088, 0, -13.491974)
shape = SubResource("BoxShape3D_lu35c")
[node name="Façada2" type="MeshInstance3D" parent="." unique_id=2115321391]
@ -224,12 +232,12 @@ surface_material_override/0 = SubResource("StandardMaterial3D_oblqs")
[node name="Logo" type="MeshInstance3D" parent="Train" unique_id=1901753724]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 7.259035, 26.030708)
mesh = SubResource("PlaneMesh_oblqs")
surface_material_override/0 = SubResource("StandardMaterial3D_k7ugr")
surface_material_override/0 = SubResource("StandardMaterial3D_qalsi")
[node name="Logo2" type="MeshInstance3D" parent="Train" unique_id=2031030233]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 7.259035, -31.657166)
mesh = SubResource("PlaneMesh_oblqs")
surface_material_override/0 = SubResource("StandardMaterial3D_k7ugr")
surface_material_override/0 = SubResource("StandardMaterial3D_87b1w")
[node name="Sostre" type="MeshInstance3D" parent="." unique_id=1924357643]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 37.53141, 10.131109)
@ -237,7 +245,7 @@ mesh = SubResource("PrismMesh_sum1q")
surface_material_override/0 = SubResource("StandardMaterial3D_olwe1")
[node name="Cartell" type="MeshInstance3D" parent="." unique_id=959266171]
transform = Transform3D(1, 0, 0, 0, 0.17364822, -0.9848077, 0, 0.9848077, 0.17364822, 0, 23.787352, 61.09195)
transform = Transform3D(1, 0, 0, 0, 0.25881907, -0.9659258, 0, 0.9659258, 0.25881907, 0, 23.787352, 61.09195)
mesh = SubResource("PlaneMesh_sum1q")
surface_material_override/0 = SubResource("StandardMaterial3D_k7ugr")