-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
gate.tscn
43 lines (32 loc) · 1.73 KB
/
gate.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
[gd_scene load_steps=9 format=3 uid="uid://dlaf4elpby2gm"]
[ext_resource type="PackedScene" uid="uid://bf48c7edm5201" path="res://assets/objects/gateLargeWide_teamYellow.gltf.glb" id="1_i071x"]
[ext_resource type="Script" path="res://gate.gd" id="1_ukoba"]
[ext_resource type="Shader" uid="uid://bhuycfujwnpnp" path="res://gate.tres" id="3_t2lgt"]
[sub_resource type="BoxShape3D" id="BoxShape3D_owhrq"]
size = Vector3(3.01172, 2.61743, 0.189209)
[sub_resource type="FastNoiseLite" id="FastNoiseLite_3lw04"]
noise_type = 4
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_jte7i"]
seamless = true
noise = SubResource("FastNoiseLite_3lw04")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_n2j5c"]
render_priority = 0
shader = ExtResource("3_t2lgt")
shader_parameter/portal_color = Color(0.627451, 0.447059, 1, 1)
shader_parameter/emission_strength = 1.5
shader_parameter/emission_color = Color(0.627451, 0.447059, 1, 1)
shader_parameter/noise = SubResource("NoiseTexture2D_jte7i")
[sub_resource type="QuadMesh" id="QuadMesh_am2pa"]
material = SubResource("ShaderMaterial_n2j5c")
size = Vector2(3.6, 3)
[node name="Gate" type="Area3D"]
collision_mask = 2
script = ExtResource("1_ukoba")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.32478, 0)
shape = SubResource("BoxShape3D_owhrq")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(-1, 3.48787e-16, -8.74228e-08, 3.48787e-16, 1, -3.48787e-16, 8.74228e-08, -3.48787e-16, -1, 0, 1.31204, 0)
mesh = SubResource("QuadMesh_am2pa")
[node name="gateLargeWide_teamYellow_gltf" parent="." instance=ExtResource("1_i071x")]
[connection signal="body_entered" from="." to="." method="_on_body_entered"]