feat: Add station scene
This commit is contained in:
parent
3d1026fbaf
commit
d18f21c90d
|
|
@ -0,0 +1,5 @@
|
||||||
|
extends Node3D
|
||||||
|
|
||||||
|
func _ready() -> void:
|
||||||
|
$Mesh.mesh.size.x = Global.chunk_size
|
||||||
|
$Mesh.mesh.size.y = Global.chunk_size
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
uid://e3kpo73hvthu
|
||||||
|
|
@ -0,0 +1,24 @@
|
||||||
|
[gd_scene format=3 uid="uid://cf50vwp60vxxf"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://e3kpo73hvthu" path="res://station.gd" id="1_lu35c"]
|
||||||
|
|
||||||
|
[sub_resource type="PlaneMesh" id="PlaneMesh_kdh3y"]
|
||||||
|
size = Vector2(150, 150)
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_eoxb4"]
|
||||||
|
albedo_color = Color(0.29986, 0.58, 0.2146, 1)
|
||||||
|
|
||||||
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_lu35c"]
|
||||||
|
radius = 24.892
|
||||||
|
height = 134.805
|
||||||
|
|
||||||
|
[node name="Station" type="Node3D" unique_id=1195945545]
|
||||||
|
script = ExtResource("1_lu35c")
|
||||||
|
|
||||||
|
[node name="Mesh" type="MeshInstance3D" parent="." unique_id=651037282]
|
||||||
|
mesh = SubResource("PlaneMesh_kdh3y")
|
||||||
|
surface_material_override/0 = SubResource("StandardMaterial3D_eoxb4")
|
||||||
|
|
||||||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="." unique_id=833530865]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, -4.371139e-08, 1, 0, -1, -4.371139e-08, 0, 0, 0)
|
||||||
|
mesh = SubResource("CapsuleMesh_lu35c")
|
||||||
Loading…
Reference in New Issue