shmodot/scenes/Railway.tscn

24 lines
909 B
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://scripts/Railway.cs" type="Script" id=1]
[sub_resource type="Curve3D" id=1]
_data = {
"points": PoolVector3Array( 0, 0, 0, 0, 0, 0, 8.10688, -1.81506, 7.57791, 0, 0, 0, 0, 0, 0, -4.46766, -3.67929, 0.175438, 0, 0, 0, 0, 0, 0, -6.79476, 2.00362, -6.79993, 0, 0, 0, 0, 0, 0, 5.56111, 6.33345, -1.84912, 0, 0, 0, 0, 0, 0, 11.2517, 3.50708, 4.91382, 0, 0, 0, 0, 0, 0, 14.9168, -0.251479, 11.0718 ),
"tilts": PoolRealArray( 0, 0, 0, 0, 0, 0 )
}
[sub_resource type="SpatialMaterial" id=2]
flags_unshaded = true
vertex_color_use_as_albedo = true
[node name="Railway" type="Path"]
curve = SubResource( 1 )
script = ExtResource( 1 )
_color = Color( 0, 1, 0.133333, 1 )
[node name="ImmediateGeometry" type="ImmediateGeometry" parent="."]
material_override = SubResource( 2 )
[connection signal="curve_changed" from="." to="." method="OnPathCurveChanged"]