dirt-racer/godot/WorldObjects/exit_door.tscn
2024-05-23 09:05:09 +02:00

73 lines
2.2 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://bylfs6dk8s7ea"]
[ext_resource type="PackedScene" uid="uid://boh0mf73cpyk3" path="res://WorldObjects/wall.tscn" id="1_uyih3"]
[sub_resource type="Animation" id="Animation_4n6h2"]
resource_name = "RESET"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Wall2:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector3(0, 69.6674, 0)]
}
[sub_resource type="Animation" id="Animation_ak006"]
resource_name = "open"
length = 2.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Wall2:position")
tracks/0/interp = 2
tracks/0/loop_wrap = false
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector3(0, 69.6674, 0), Vector3(0, -12.7737, 0)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_o7nv8"]
_data = {
"RESET": SubResource("Animation_4n6h2"),
"open": SubResource("Animation_ak006")
}
[sub_resource type="BoxShape3D" id="BoxShape3D_oaqug"]
size = Vector3(180.842, 95.54, 143.84)
[sub_resource type="BoxShape3D" id="BoxShape3D_ve4sa"]
size = Vector3(164.406, 151.328, 12.4365)
[node name="ExitDoor" type="ExitDoor"]
transform = Transform3D(0.300345, 0, 0, 0, 0.300345, 0, 0, 0, 0.300345, 0, 0, 0)
[node name="Wall2" parent="." instance=ExtResource("1_uyih3")]
transform = Transform3D(-1.23393, -1.07873e-07, 0, 1.07873e-07, -1.23393, 0, 0, 0, 1.23393, 0, 69.6674, 0)
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_o7nv8")
}
[node name="ExitTrigger" type="ExitTrigger" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 30.6259, -81.7435)
collision_layer = 0
collision_mask = 4
monitorable = false
[node name="CollisionShape3D" type="CollisionShape3D" parent="ExitTrigger"]
shape = SubResource("BoxShape3D_oaqug")
[node name="StaticBody3D" type="StaticBody3D" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 149.79, -0.855263)
shape = SubResource("BoxShape3D_ve4sa")