-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathturnstile.tscn
68 lines (50 loc) · 2.76 KB
/
turnstile.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
[gd_scene load_steps=9 format=3 uid="uid://dorx7tjyxp3pr"]
[ext_resource type="Script" uid="uid://c0lu5n87rgklu" path="res://turnstile.gd" id="1_6ywgx"]
[ext_resource type="PackedScene" uid="uid://dcye82wqldmej" path="res://objects/turnstyle.glb" id="1_sn236"]
[ext_resource type="PackedScene" uid="uid://cggahbp1gdgc0" path="res://radial_progress.tscn" id="2_6ywgx"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_sn236"]
albedo_color = Color(0.804743, 0.804743, 0.804743, 1)
metallic = 1.0
metallic_specular = 0.45
roughness = 0.88
[sub_resource type="BoxMesh" id="BoxMesh_6ywgx"]
material = SubResource("StandardMaterial3D_sn236")
size = Vector3(6, 1, 0.05)
[sub_resource type="BoxShape3D" id="BoxShape3D_sn236"]
size = Vector3(6.00378, 1, 0.105225)
[sub_resource type="BoxShape3D" id="BoxShape3D_6ywgx"]
size = Vector3(1.16406, 1, 0.105225)
[sub_resource type="BoxShape3D" id="BoxShape3D_x7viq"]
size = Vector3(0.320068, 0.285156, 0.414062)
[node name="Turnstile" type="Node3D"]
script = ExtResource("1_6ywgx")
[node name="turnstyle" parent="." instance=ExtResource("1_sn236")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00929868, 0.00352138, 0.00149578)
[node name="RadialProgress" parent="." instance=ExtResource("2_6ywgx")]
transform = Transform3D(0.1, 0, 0, 0, 0.0537741, 0.084311, 0, -0.084311, 0.0537741, 0.509779, 1.15782, 0.944995)
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.67467, 0.588326, 0)
mesh = SubResource("BoxMesh_6ywgx")
[node name="MeshInstance3D2" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.65718, 0.588326, 0)
mesh = SubResource("BoxMesh_6ywgx")
[node name="StaticBody3D" type="StaticBody3D" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.61102, 0.590886, 0)
shape = SubResource("BoxShape3D_sn236")
[node name="CollisionShape3D2" type="CollisionShape3D" parent="StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.65688, 0.590886, 0)
shape = SubResource("BoxShape3D_sn236")
[node name="DoorBlock" type="StaticBody3D" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="DoorBlock"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00520563, 0.590886, 0)
shape = SubResource("BoxShape3D_6ywgx")
[node name="Area3D" type="Area3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.507095, 1.15071, 0.953563)
collision_layer = 2
collision_mask = 0
monitoring = false
metadata/is_turnstile = true
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
transform = Transform3D(1, 0, 0, 0, 0.861328, -0.50805, 0, 0.50805, 0.861328, 0, 0, 0)
shape = SubResource("BoxShape3D_x7viq")