[gd_scene load_steps=6 format=2] [ext_resource path="res://addons/RadMatt.3DFPP/Test_Objects/door/Door.gd" type="Script" id=1] [ext_resource path="res://Assets/Door_interior_out/Door_interior.tscn" type="PackedScene" id=2] [ext_resource path="res://entities/Interaction.tscn" type="PackedScene" id=3] [sub_resource type="BoxShape" id=1] extents = Vector3( 2, 2.16753, 1.27822 ) [sub_resource type="Animation" id=5] resource_name = "open" tracks/0/type = "value" tracks/0/path = NodePath(".:rotation_degrees") tracks/0/interp = 2 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 1 ), "transitions": PoolRealArray( -1.73869, -1.73869 ), "update": 0, "values": [ Vector3( 0, 0, 0 ), Vector3( 0, -90, 0 ) ] } [node name="Door" type="Spatial"] [node name="Door" type="StaticBody" parent="."] script = ExtResource( 1 ) [node name="CollisionShape" type="CollisionShape" parent="Door"] transform = Transform( 0.509438, 0, 0, 0, 1, 0, 0, 0, 0.05, 1, 1.90391, 0 ) shape = SubResource( 1 ) [node name="AnimationPlayer" type="AnimationPlayer" parent="Door"] anims/open = SubResource( 5 ) [node name="Door_interior" parent="Door" instance=ExtResource( 2 )] [node name="DoorSound" parent="Door" instance=ExtResource( 3 )] [connection signal="animation_finished" from="Door/AnimationPlayer" to="Door" method="_on_AnimationPlayer_animation_finished"] [connection signal="animation_started" from="Door/AnimationPlayer" to="Door" method="_on_AnimationPlayer_animation_started"]