Compare commits
6 Commits
c1dd67d67a
...
b553f2e9b7
Author | SHA1 | Date |
---|---|---|
ktyl | b553f2e9b7 | |
ktyl | c692487b24 | |
ktyl | 3b626494d8 | |
ktyl | fc9ee5441a | |
ktyl | a890b71df0 | |
Cat Flynn | cd800be3eb |
|
@ -6,13 +6,13 @@
|
||||||
|
|
||||||
[node name="Main" type="Node2D"]
|
[node name="Main" type="Node2D"]
|
||||||
|
|
||||||
|
[node name="Train" parent="." instance=ExtResource( 1 )]
|
||||||
|
_speed = 5.0
|
||||||
|
_railwayPath = NodePath("../Railway")
|
||||||
|
|
||||||
[node name="DirectionalLight" type="DirectionalLight" parent="."]
|
[node name="DirectionalLight" type="DirectionalLight" parent="."]
|
||||||
transform = Transform( 0.515898, 0.606099, -0.605386, -0.393123, 0.795389, 0.461314, 0.76112, -2.26831e-08, 0.648611, 0, 0, 0 )
|
transform = Transform( 0.515898, 0.606099, -0.605386, -0.393123, 0.795389, 0.461314, 0.76112, -2.26831e-08, 0.648611, 0, 0, 0 )
|
||||||
|
|
||||||
[node name="OrbitCamera" parent="." instance=ExtResource( 3 )]
|
[node name="OrbitCamera" parent="." instance=ExtResource( 3 )]
|
||||||
|
|
||||||
[node name="Railway" parent="." instance=ExtResource( 2 )]
|
[node name="Railway" parent="." instance=ExtResource( 2 )]
|
||||||
|
|
||||||
[node name="Train" parent="." instance=ExtResource( 1 )]
|
|
||||||
_speed = 5.0
|
|
||||||
_railwayPath = NodePath("../Railway")
|
|
||||||
|
|
|
@ -5,15 +5,15 @@
|
||||||
[sub_resource type="Curve3D" id=1]
|
[sub_resource type="Curve3D" id=1]
|
||||||
bake_interval = 0.01
|
bake_interval = 0.01
|
||||||
_data = {
|
_data = {
|
||||||
"points": PoolVector3Array( -2.68413, 0, -1.21546, 2.68413, 0, 1.21546, -20.005, 0, -8.27961, -0.202576, 0, -2.12705, 0.202576, 0, 2.12705, -15.5484, 0.00448608, -2.35426, -1.06352, 0, -2.88671, 1.06352, 0, 2.88671, -15.8992, 0.000904083, 5.83998, -3.24122, 0, 0.202576, 3.24122, 0, -0.202576, -8.81272, 0, 10.4587, -0.468547, 0, 2.85805, 0.468547, 0, -2.85805, -3.58364, -0.000244141, 4.56199, -1.16602, 4.07454e-10, 3.45615, 1.16602, -4.07454e-10, -3.45615, -5.10296, -0.000259399, -3.5917, -2.78542, 0, -1.56996, 2.78542, 0, 1.56996, 3.2912, -0.000259399, -6.30449, -3.70976, 0, -1.39605, 3.70976, 0, 1.39605, 9.68509, -0.000259399, -0.0972629, 0, 0, 0, 0, 0, 0, 19.9658, -0.000259399, -1.11014 ),
|
"points": PoolVector3Array( -2.68413, 0, -1.21546, 2.68413, 0, 1.21546, -20.005, 0, -8.27961, -0.202576, 0, -2.12705, 0.202576, 0, 2.12705, -15.5484, 0.00448608, -2.35426, -1.06352, 0, -2.88671, 1.06352, 0, 2.88671, -16.1055, 0.000946045, 5.85007, -3.24122, 0, 0.202576, 3.24122, 0, -0.202576, -8.81272, 0, 10.4587, -0.468547, 0, 2.85805, 0.468547, 0, -2.85805, -3.58364, -0.000244141, 4.56199, -1.17756, 0, 3.41513, 1.17756, 0, -3.41513, -5.10296, -0.000259399, -3.5917, -2.78542, 0, -1.56996, 2.78542, 0, 1.56996, 3.2912, -0.000259399, -6.30449, -3.70976, 0, -1.39605, 3.70976, 0, 1.39605, 9.68509, -0.000259399, -0.0972629, 0, 0, 0, 0, 0, 0, 19.9658, -0.000259399, -1.11014 ),
|
||||||
"tilts": PoolRealArray( 0, 0, 0, 0, 0, 0, 0, 0, 0 )
|
"tilts": PoolRealArray( 0, 0, 0, 0, 0, 0, 0, 0, 0 )
|
||||||
}
|
}
|
||||||
|
|
||||||
[node name="Railway" type="Spatial"]
|
[node name="Railway" type="Spatial"]
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
RailWidth = 0.05
|
RailWidth = 0.08
|
||||||
RailHeight = 0.1
|
RailHeight = 0.12
|
||||||
RailGauge = 0.8
|
RailGauge = 1.0
|
||||||
_railPaths = [ NodePath("L"), NodePath("R") ]
|
_railPaths = [ NodePath("L"), NodePath("R") ]
|
||||||
_centreLine = NodePath("Centreline")
|
_centreLine = NodePath("Centreline")
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ _centreLine = NodePath("Centreline")
|
||||||
curve = SubResource( 1 )
|
curve = SubResource( 1 )
|
||||||
|
|
||||||
[node name="L" type="CSGPolygon" parent="."]
|
[node name="L" type="CSGPolygon" parent="."]
|
||||||
polygon = PoolVector2Array( -0.45, 0, -0.45, 0.1, -0.35, 0.1, -0.35, 0 )
|
polygon = PoolVector2Array( -0.58, 0, -0.58, 0.12, -0.42, 0.12, -0.42, 0 )
|
||||||
mode = 2
|
mode = 2
|
||||||
path_node = NodePath("../Centreline")
|
path_node = NodePath("../Centreline")
|
||||||
path_interval_type = 0
|
path_interval_type = 0
|
||||||
|
@ -34,7 +34,7 @@ path_u_distance = 1.0
|
||||||
path_joined = false
|
path_joined = false
|
||||||
|
|
||||||
[node name="R" type="CSGPolygon" parent="."]
|
[node name="R" type="CSGPolygon" parent="."]
|
||||||
polygon = PoolVector2Array( 0.35, 0, 0.35, 0.1, 0.45, 0.1, 0.45, 0 )
|
polygon = PoolVector2Array( 0.42, 0, 0.42, 0.12, 0.58, 0.12, 0.58, 0 )
|
||||||
mode = 2
|
mode = 2
|
||||||
path_node = NodePath("../Centreline")
|
path_node = NodePath("../Centreline")
|
||||||
path_interval_type = 0
|
path_interval_type = 0
|
||||||
|
|
Loading…
Reference in New Issue