[gd_scene format=3 uid="uid://5ephfkqjvl0p"] [ext_resource type="Script" uid="uid://6bm5giaora3" path="res://scripts/open_close_sign.gd" id="1_y70io"] [sub_resource type="BoxMesh" id="BoxMesh_m4d0g"] size = Vector3(2, 1, 0.05) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_y70io"] albedo_color = Color(0.490196, 0.345098, 0.223529, 1) [sub_resource type="CylinderMesh" id="CylinderMesh_at0c4"] material = SubResource("StandardMaterial3D_y70io") top_radius = 0.01 bottom_radius = 0.01 height = 1.43 [sub_resource type="BoxShape3D" id="BoxShape3D_m4d0g"] size = Vector3(2.03479, 1.05396, 0.220459) [sub_resource type="Animation" id="Animation_y70io"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:rotation") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector3(0, 0, 0)] } [sub_resource type="Animation" id="Animation_m4d0g"] resource_name = "flip sign" tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:rotation") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.5, 1), "transitions": PackedFloat32Array(1, 1, 1), "update": 0, "values": [Vector3(0, 0, 0), Vector3(0, 1.5708, 1.5708), Vector3(0, 3.14159, 0)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_at0c4"] _data = { &"RESET": SubResource("Animation_y70io"), &"flip_sign": SubResource("Animation_m4d0g") } [node name="OpenCloseSign" type="Node3D" unique_id=1296870710] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.24622, 0) [node name="StaticBody3D" type="StaticBody3D" parent="." unique_id=1119751346 groups=["interactable", "open_close_sign"]] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.47962, 0) collision_layer = 3 script = ExtResource("1_y70io") [node name="SignMesh" type="MeshInstance3D" parent="StaticBody3D" unique_id=1199212068] mesh = SubResource("BoxMesh_m4d0g") [node name="OpenLabel" type="Label3D" parent="StaticBody3D/SignMesh" unique_id=1437340013] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0174429, 0.0349858) text = "OPEN 8 AM - 8 PM " font_size = 40 [node name="OpenLabel2" type="Label3D" parent="StaticBody3D/SignMesh" unique_id=886096424] transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0.0244299, -0.0297058) text = "CLOSED 8 PM - 8 AM" font_size = 40 [node name="StringMesh" type="MeshInstance3D" parent="StaticBody3D" unique_id=804223918] transform = Transform3D(0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 0, 0, 1, -0.5, 0.968, 0) mesh = SubResource("CylinderMesh_at0c4") [node name="StringMesh2" type="MeshInstance3D" parent="StaticBody3D" unique_id=916281516] transform = Transform3D(-0.707107, -0.707107, -8.74228e-08, -0.707107, 0.707107, 0, 6.18172e-08, 6.18172e-08, -1, 0.5, 0.968, 0) mesh = SubResource("CylinderMesh_at0c4") [node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" unique_id=809142179] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00848389, 0.0169678, 0.0118408) shape = SubResource("BoxShape3D_m4d0g") [node name="SignAnimation" type="AnimationPlayer" parent="StaticBody3D" unique_id=945030559] root_node = NodePath("../..") libraries/ = SubResource("AnimationLibrary_at0c4") [node name="InteractLabel" type="Label3D" parent="." unique_id=1714122589] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.593952, 0) visible = false billboard = 2 text = "[E] Flip"