-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Track1.tscn
46 lines (38 loc) · 2.67 KB
/
Track1.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
[gd_scene load_steps=4 format=2]
[ext_resource path="res://cars/DemoCar.tscn" type="PackedScene" id=1]
[ext_resource path="res://ChaseCamera.tscn" type="PackedScene" id=2]
[sub_resource type="Curve3D" id=1]
_data = {
"points": PoolVector3Array( 1.2113, 0.000774384, 0.107986, -1.2113, -0.000774384, -0.107986, -14.8949, 2.67029e-05, 0.334022, 4.32105, -0.000175476, 8.03398, -4.32105, 0.000175476, -8.03398, -26.8266, 0, -8.75494, -3.18362, -1.52588e-05, 5.24359, 3.18362, 1.52588e-05, -5.24359, -31.4148, 0, -27.0139, -3.27725, 7.62939e-06, 0.374542, 3.27725, -7.62939e-06, -0.374542, -17.5567, 0, -36.1902, 0, 0, 0, 0, 0, 0, 8.00585, 0, -36.3775, -4.77542, 7.62939e-06, -1.5918, 4.77542, -7.62939e-06, 1.5918, 28.793, 0, -35.1602, -1.49815, -1.52588e-05, -4.30725, 1.49815, 1.52588e-05, 4.30725, 45.4601, 0, -22.8939, 2.24725, 7.62939e-06, -5.80542, -2.24725, -7.62939e-06, 5.80542, 48.4565, 0, 1.07681, 0, 0, 0, 0, 0, 0, 30.9466, 0, 12.1258, 2.15363, 0, -5.80541, -2.15363, 0, 5.80541, 18.731, 0.0207024, 17.7863, 2.43451, 4.19617e-05, -4.02635, -2.43451, -4.19617e-05, 4.02635, 21.7703, 0, 32.3511, 0, 0, 0, 0, 0, 0, 9.12948, 0, 37.2202, 0, 0, 0, 0, 0, 0, -11.1895, 0, 35.1602, 0, 0, 0, 0, 0, 0, -32.3511, 0, 29.823, -0.468166, 1.14441e-05, 7.20995, 0.468166, -1.14441e-05, -7.20995, -46.1156, 0, 15.3094, -7.02268, -7.62939e-06, 1.59181, 7.02268, 7.62939e-06, -1.59181, -34.7857, 0, 5.7586, 0, 0, 0, 0, 0, 0, -16.0585, 0, 8.84858, -0.717391, -0.00108719, 4.5462, 0.717391, 0.00108719, -4.5462, -8.00586, 0, 5.57133, 0, 0, 0, 0, 0, 0, -14.9065, 2.21729e-05, 0.334784 ),
"tilts": PoolRealArray( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 )
}
[node name="Track1" type="Spatial"]
[node name="Path" type="Path" parent="."]
curve = SubResource( 1 )
[node name="CSGPolygon" type="CSGPolygon" parent="Path"]
use_collision = true
invert_faces = true
polygon = PoolVector2Array( -3, 0, -3, 0.1, 3, 0.1, 3, 0 )
mode = 2
path_node = NodePath("..")
path_interval = 1.0
path_rotation = 2
path_local = false
path_continuous_u = false
path_joined = true
[node name="CSGPolygon2" type="CSGPolygon" parent="Path"]
use_collision = true
invert_faces = true
polygon = PoolVector2Array( -4, 0, -4, 1, -3, 1, -3, 0.1, 3, 0.1, 3, 1, 4, 1, 4, 0 )
mode = 2
path_node = NodePath("..")
path_interval = 1.0
path_rotation = 2
path_local = false
path_continuous_u = false
path_joined = true
[node name="DemoCar" parent="." instance=ExtResource( 1 )]
transform = Transform( -0.0187613, 0, -0.999824, 0, 1, 0, 0.999824, 0, -0.0187613, 1.0991, 3.8147e-06, -36.3926 )
[node name="ChaseCamera" parent="." instance=ExtResource( 2 )]
current = true
[connection signal="change_camera" from="DemoCar" to="ChaseCamera" method="_on_change_camera"]