-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnode_3d.tscn
107 lines (86 loc) · 4.15 KB
/
node_3d.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[gd_scene load_steps=10 format=3 uid="uid://dfiiwovfalikt"]
[ext_resource type="PackedScene" uid="uid://b1gfqdwc6f2hp" path="res://gui.tscn" id="3_2arex"]
[ext_resource type="Script" path="res://Camera3D_1.gd" id="4_1vjid"]
[ext_resource type="PackedScene" uid="uid://bifb0xhht2hk1" path="res://testcircuit.tscn" id="6_osw4l"]
[ext_resource type="PackedScene" uid="uid://bw5oc4tbywni6" path="res://testground.tscn" id="6_wp6fq"]
[ext_resource type="PackedScene" uid="uid://biy105gs20ig6" path="res://testground_2.tscn" id="7_8okqr"]
[ext_resource type="PackedScene" uid="uid://b0f11r84rigje" path="res://gemini.tscn" id="7_ier4y"]
[sub_resource type="LabelSettings" id="LabelSettings_1rcwf"]
font_size = 14
[sub_resource type="PrismMesh" id="PrismMesh_xiyjf"]
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_6x5r8"]
data = PackedVector3Array(0, 0.5, 0.5, 0.5, -0.5, 0.5, -0.5, -0.5, 0.5, 0, 0.5, -0.5, -0.5, -0.5, -0.5, 0.5, -0.5, -0.5, 0, 0.5, 0.5, 0, 0.5, -0.5, 0.5, -0.5, 0.5, 0, 0.5, -0.5, 0.5, -0.5, -0.5, 0.5, -0.5, 0.5, 0, 0.5, -0.5, 0, 0.5, 0.5, -0.5, -0.5, -0.5, 0, 0.5, 0.5, -0.5, -0.5, 0.5, -0.5, -0.5, -0.5, -0.5, -0.5, 0.5, 0.5, -0.5, 0.5, -0.5, -0.5, -0.5, 0.5, -0.5, 0.5, 0.5, -0.5, -0.5, -0.5, -0.5, -0.5)
[node name="Node3D" type="Node3D"]
[node name="Camera3D2" type="Camera3D" parent="." node_paths=PackedStringArray("car")]
transform = Transform3D(1, 0, 0, 0, 0.977933, 0.208919, 0, -0.208919, 0.977933, 0, 1.98276, 6)
projection = 2
fov = 45.0
size = 0.1
frustum_offset = Vector2(0, -0.02)
near = 0.1
script = ExtResource("4_1vjid")
car = NodePath("../gemini2")
mode = 1
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.858155, 0.137327, 0.494684, -0.513391, 0.229548, 0.826884, 0, -0.963561, 0.267491, 0, 1.83298, 0)
shadow_enabled = true
[node name="gemini2" parent="." instance=ExtResource("7_ier4y")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
[node name="testground" parent="." instance=ExtResource("6_wp6fq")]
[node name="testground2" parent="." instance=ExtResource("7_8okqr")]
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
[node name="SubViewportContainer" type="SubViewportContainer" parent="."]
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -300.0
offset_top = -220.0
offset_right = 300.0
offset_bottom = -20.0
grow_horizontal = 2
grow_vertical = 0
[node name="SubViewport" type="SubViewport" parent="SubViewportContainer"]
handle_input_locally = false
size = Vector2i(600, 200)
render_target_update_mode = 4
[node name="Camera3D" type="Camera3D" parent="SubViewportContainer/SubViewport" node_paths=PackedStringArray("car")]
v_offset = 0.5
fov = 10.0
near = 0.1
script = ExtResource("4_1vjid")
offset = Vector3(-4, 0, -5)
car = NodePath("../../../gemini2")
mode = 2
additional_rot = Vector3(-0.04, -2.51, 0)
[node name="Control" parent="." instance=ExtResource("3_2arex")]
visible = false
[node name="Control2" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_right = 640.0
offset_bottom = 480.0
[node name="Label" type="Label" parent="Control2"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -255.5
offset_top = 8.0
offset_right = 255.5
offset_bottom = 77.0
grow_horizontal = 2
text = "Reset = R Toggle Info = T
(Keyboard) Throttle = Up Brakes = Down Steer = LR Declutch = Z
(Gamepad) Throttle = RT Brakes = R Stick Up Steer = L Stick Declutch = LT"
label_settings = SubResource("LabelSettings_1rcwf")
[node name="testcircuit" parent="." instance=ExtResource("6_osw4l")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.14957, 660.811)
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(6.01525, 0, 5.37404, 0, 1.8026, 0, -13.4902, 0, 2.39627, 0, 0.657191, 38.5627)
mesh = SubResource("PrismMesh_xiyjf")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_6x5r8")
[connection signal="show_telemetry" from="gemini2" to="Control" method="_on_show_telemetry"]