-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathRoadExample.tscn
79 lines (65 loc) · 3.32 KB
/
RoadExample.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[gd_scene load_steps=7 format=2]
[ext_resource path="res://Road.tres" type="Material" id=1]
[ext_resource path="res://Road.tscn" type="PackedScene" id=2]
[sub_resource type="Curve3D" id=1]
resource_local_to_scene = true
_data = {
"points": PoolVector3Array( -0.5, 0, 0, 0.5, 0, 0, 1.5, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, -0.5, 0, 0, 0.5, 0, 0, 5, 0, 0, 0, 0, 0.5, 0, 0, -0.5, 6, 0, -1, 0, 0, 0, 0, 0, 0, 6, 0, -2, 0, 0, 0, 0, 0, 0, 6, 0, -3, 0, 0, 0.5, 0, 0, -0.5, 6, 0, -5, 0.5, 0, 0, -0.5, 0, 0, 5, 0, -6, 0, 0, 0, 0, 0, 0, 4, 0, -6, 0, 0, 0, 0, 0, 0, 3, 0, -6, 0, 0, 0, 0, 0, 0, 2, 0, -6, 0.5, 0, 0, -0.5, 0, 0, 1, 0, -6, 0, 0, -0.75, 0, 0, 0.75, 0, 0, -5, 0, 0, 0, 0, 0, 0, 0, 0, -4, 0, 0, 0, 0, 0, 0, 0, 0, -3, 0, 0, 0, 0, 0, 0, 0, 0, -2, 0, 0, -0.5, 0, 0, 0.5, 0, 0, -1, -0.5, 0, 0, 0.5, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0 ),
"tilts": PoolRealArray( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 )
}
[sub_resource type="Curve3D" id=2]
resource_local_to_scene = true
_data = {
"points": PoolVector3Array( 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0.5, 0, 0, -0.5, 0, 0, -2, 0.5, 0, 0, -0.5, 0, 0, -1, 0, -3, 0, 0, 0, 0, 0, 0, -1.97517, 0, -3 ),
"tilts": PoolRealArray( 0, 0, 0, 0 )
}
[sub_resource type="Curve3D" id=4]
resource_local_to_scene = true
_data = {
"points": PoolVector3Array( 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0.5, 0, 0, -0.5, 0, 0, -2, -0.5, 0, 0, 0.5, 0, 0, 1.02697, 0, -3, 0, 0, 0, 0, 0, 0, 2.02697, 0, -3 ),
"tilts": PoolRealArray( 0, 0, 0, 0 )
}
[sub_resource type="Curve3D" id=3]
resource_local_to_scene = true
_data = {
"points": PoolVector3Array( 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0.5, 0, 0, -0.5, 0, 0, -2, 0.212318, 0, 0.344183, -0.212318, 0, -0.344183, -0.475165, 0, -3.25, 0.75, 0, 0.25, -0.75, 0, -0.25, -2.22517, 0, -4.5 ),
"tilts": PoolRealArray( 0, 0, 0, 0 )
}
[node name="Spatial" type="Spatial"]
[node name="Road" parent="." instance=ExtResource( 2 )]
curve = SubResource( 1 )
road_polygon = PoolVector2Array( -0.5, 0, 0, -0.02, 0.5, 0 )
road_interval = 0.147
material = ExtResource( 1 )
[node name="RoadMesh" parent="Road" index="0"]
path_interval = 0.147
path_joined = true
[node name="Road2" parent="." instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -7.35367 )
visible = false
curve = SubResource( 1 )
road_polygon = PoolVector2Array( -0.5, 0, 0, -0.02, 0.5, 0 )
road_interval = 1.0
material = ExtResource( 1 )
[node name="RoadMesh" parent="Road2" index="0"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -9.41916 )
[node name="Road3" parent="." instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 22.969, 0, 0 )
curve = SubResource( 2 )
road_polygon = PoolVector2Array( -0.5, 0, 0, -0.02, 0.5, 0 )
road_interval = 0.206
material = ExtResource( 1 )
[node name="Road5" parent="." instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 18.973, 0, 0 )
curve = SubResource( 4 )
road_polygon = PoolVector2Array( -0.5, 0, 0, -0.02, 0.5, 0 )
road_interval = 0.206
material = ExtResource( 1 )
[node name="Road4" parent="." instance=ExtResource( 2 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 14.9752, 0, 0 )
curve = SubResource( 3 )
road_polygon = PoolVector2Array( -0.5, 0, 0, -0.02, 0.5, 0 )
road_interval = 0.206
material = ExtResource( 1 )
[editable path="Road"]
[editable path="Road2"]