This repository has been archived by the owner on Sep 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Main.tscn
116 lines (93 loc) · 3.1 KB
/
Main.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
108
109
110
111
112
113
114
115
116
[gd_scene load_steps=9 format=2]
[ext_resource path="res://Simulator3D.cs" type="Script" id=1]
[ext_resource path="res://BorderlessWindow.cs" type="Script" id=2]
[ext_resource path="res://ResizeHandle.cs" type="Script" id=3]
[sub_resource type="CylinderMesh" id=5]
top_radius = 0.5
bottom_radius = 0.5
height = 1.75
[sub_resource type="SpatialMaterial" id=6]
vertex_color_use_as_albedo = true
[sub_resource type="CubeMesh" id=3]
size = Vector3( 0.25, 0.25, 0.25 )
[sub_resource type="SpatialMaterial" id=4]
vertex_color_use_as_albedo = true
albedo_color = Color( 1, 0, 0, 1 )
[sub_resource type="Environment" id=2]
ambient_light_color = Color( 1, 1, 1, 1 )
ambient_light_energy = 0.05
[node name="Root" type="Spatial"]
script = ExtResource( 1 )
[node name="Stroker" type="MeshInstance" parent="."]
mesh = SubResource( 5 )
material/0 = SubResource( 6 )
[node name="Twist1" type="MeshInstance" parent="Stroker"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, 0, 0 )
mesh = SubResource( 3 )
material/0 = SubResource( 4 )
[node name="Twist2" type="MeshInstance" parent="Stroker"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 0, 0 )
mesh = SubResource( 3 )
skeleton = NodePath("../Twist1")
material/0 = SubResource( 4 )
[node name="Camera" type="Camera" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 3.25 )
size = 5.0
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource( 2 )
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( 0.866025, 0.353553, -0.353553, 0, 0.707107, 0.707107, 0.5, -0.612372, 0.612372, 0, 4, 0 )
[node name="UI" type="Control" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
rect_min_size = Vector2( 0, 40 )
script = ExtResource( 2 )
[node name="Label" type="Label" parent="UI"]
margin_right = 40.0
margin_bottom = 14.0
text = "Connecting..."
[node name="TopHandle" type="Control" parent="UI"]
anchor_right = 1.0
margin_bottom = 25.0
rect_min_size = Vector2( 0, 20 )
rect_pivot_offset = Vector2( -1026, 164 )
script = ExtResource( 3 )
[node name="ColorRect" type="ColorRect" parent="UI/TopHandle"]
anchor_right = 1.0
rect_min_size = Vector2( 0, 1 )
color = Color( 1, 0, 0, 1 )
[node name="BottomHandle" type="Control" parent="UI"]
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -25.0
script = ExtResource( 3 )
handleType = 1
[node name="ColorRect" type="ColorRect" parent="UI/BottomHandle"]
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -1.0
color = Color( 1, 0, 0, 1 )
[node name="LeftHandle" type="Control" parent="UI"]
anchor_bottom = 1.0
margin_right = 25.0
script = ExtResource( 3 )
handleType = 2
[node name="ColorRect" type="ColorRect" parent="UI/LeftHandle"]
anchor_bottom = 1.0
margin_right = 1.0
color = Color( 1, 0, 0, 1 )
[node name="RightHandle" type="Control" parent="UI"]
anchor_left = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -25.0
script = ExtResource( 3 )
handleType = 3
[node name="ColorRect" type="ColorRect" parent="UI/RightHandle"]
anchor_left = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -1.0
color = Color( 1, 0, 0, 1 )