funnymemellama/Door.tscn

47 lines
1.3 KiB
Text
Raw Permalink Normal View History

2023-10-01 17:00:10 -04:00
[gd_scene load_steps=6 format=3 uid="uid://cjn7bvtws2uip"]
[ext_resource type="Script" path="res://Door.gd" id="1_5n8dw"]
[sub_resource type="BoxShape3D" id="BoxShape3D_7fob4"]
size = Vector3(1.92, 3.84, 0.1)
[sub_resource type="BoxMesh" id="BoxMesh_n4ovh"]
size = Vector3(1.92, 3.84, 0.1)
[sub_resource type="Animation" id="Animation_0hgwy"]
resource_name = "open"
tracks/0/type = "bezier"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("CollisionShape3D:position:x")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"handle_modes": PackedInt32Array(0, 0),
"points": PackedFloat32Array(0, -0.25, 0, 0.5, 0, 1.76, -0.5, 0, 0.25, 0),
"times": PackedFloat32Array(0, 1)
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ol8av"]
_data = {
"open": SubResource("Animation_0hgwy")
}
[node name="Door" type="AnimatableBody3D"]
script = ExtResource("1_5n8dw")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.92, 0)
shape = SubResource("BoxShape3D_7fob4")
[node name="CSGMesh3D" type="CSGMesh3D" parent="CollisionShape3D"]
mesh = SubResource("BoxMesh_n4ovh")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_ol8av")
}
[node name="Timer" type="Timer" parent="."]
one_shot = true