Files
mobile-run-garbo-game/Objects/gate_base.tscn
2025-07-05 13:32:33 +01:00

64 lines
2.1 KiB
Plaintext

[gd_scene load_steps=9 format=3 uid="uid://dflfnwxsqakep"]
[ext_resource type="Script" uid="uid://rx1tvuhjo78w" path="res://scripts/gate_base.gd" id="1_3n5qp"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_mkh1i"]
albedo_color = Color(0.589096, 0.589096, 0.589096, 1)
metallic = 1.0
[sub_resource type="CylinderMesh" id="CylinderMesh_3n5qp"]
material = SubResource("StandardMaterial3D_mkh1i")
top_radius = 0.2
bottom_radius = 0.2
[sub_resource type="BoxMesh" id="BoxMesh_3n5qp"]
resource_local_to_scene = true
size = Vector3(4, 2, 0.05)
[sub_resource type="SystemFont" id="SystemFont_1c4j8"]
subpixel_positioning = 0
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_kxyvy"]
albedo_color = Color(0, 0, 0, 1)
[sub_resource type="TextMesh" id="TextMesh_3n5qp"]
resource_local_to_scene = true
material = SubResource("StandardMaterial3D_kxyvy")
text = "Test
"
font = SubResource("SystemFont_1c4j8")
font_size = 50
[sub_resource type="BoxShape3D" id="BoxShape3D_n02vp"]
size = Vector3(4, 2, 0.1)
[node name="GateBase" type="Node3D" node_paths=PackedStringArray("physicsBody")]
script = ExtResource("1_3n5qp")
physicsBody = NodePath("Screen/StaticBody3D")
[node name="PostA" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.2, 0, 0)
mesh = SubResource("CylinderMesh_3n5qp")
skeleton = NodePath("")
[node name="PostB" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.2, 0, 0)
mesh = SubResource("CylinderMesh_3n5qp")
skeleton = NodePath("")
[node name="Screen" type="MeshInstance3D" parent="."]
mesh = SubResource("BoxMesh_3n5qp")
skeleton = NodePath("")
[node name="Sign" type="MeshInstance3D" parent="Screen"]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, -0.0538177)
mesh = SubResource("TextMesh_3n5qp")
[node name="StaticBody3D" type="StaticBody3D" parent="Screen"]
collision_layer = 4
collision_mask = 4
input_ray_pickable = false
[node name="CollisionShape3D" type="CollisionShape3D" parent="Screen/StaticBody3D"]
shape = SubResource("BoxShape3D_n02vp")