77 lines
2.2 KiB
Plaintext
77 lines
2.2 KiB
Plaintext
[gd_scene load_steps=8 format=3 uid="uid://cvlwiscksxvr8"]
|
|
|
|
[ext_resource type="Script" path="res://Assets/scripts/night_stand.gd" id="1_5m56a"]
|
|
[ext_resource type="PackedScene" uid="uid://r7id1vke7msb" path="res://Blender Files/Objects/NightStand.blend" id="1_50kbp"]
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_k5x08"]
|
|
size = Vector3(0.799194, 0.494141, 0.799316)
|
|
|
|
[sub_resource type="Animation" id="Animation_4ron5"]
|
|
resource_name = "Close"
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("NightStand/Drawer:blend_shapes/Drawer")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 1),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [1.0, 0.0]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_wocdj"]
|
|
resource_name = "Open"
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("NightStand/Drawer:blend_shapes/Drawer")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 1),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [0.0, 1.0]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_yurxo"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("NightStand/Drawer:blend_shapes/Drawer")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [0.0]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_q4jho"]
|
|
_data = {
|
|
"Close": SubResource("Animation_4ron5"),
|
|
"Open": SubResource("Animation_wocdj"),
|
|
"RESET": SubResource("Animation_yurxo")
|
|
}
|
|
|
|
[node name="Night Stand" type="StaticBody3D"]
|
|
collision_layer = 4
|
|
script = ExtResource("1_5m56a")
|
|
|
|
[node name="CollisionShape" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.000183105, 0.24707, -0.000244141)
|
|
shape = SubResource("BoxShape3D_k5x08")
|
|
|
|
[node name="NightStand" parent="." instance=ExtResource("1_50kbp")]
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
"": SubResource("AnimationLibrary_q4jho")
|
|
}
|
|
|
|
[editable path="NightStand"]
|