Breadmouth-home/Born Without Teeth/Player/Player.tscn

56 lines
1.6 KiB
Plaintext

[gd_scene load_steps=6 format=2]
[ext_resource path="res://Player/Player.gd" type="Script" id=1]
[ext_resource path="res://Menus/Inventory/Inventory.tscn" type="PackedScene" id=2]
[sub_resource type="CapsuleMesh" id=1]
mid_height = 4.0
radial_segments = 6
rings = 1
[sub_resource type="CapsuleShape" id=2]
height = 4.0
[sub_resource type="CapsuleShape" id=3]
radius = 1.1
height = 4.0
[node name="Player" type="KinematicBody"]
collision_mask = 6
script = ExtResource( 1 )
[node name="Spatial" type="Spatial" parent="."]
[node name="Camera" type="Camera" parent="Spatial"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5, -0.866904 )
cull_mask = 1048543
fov = 90.0
far = 250.0
[node name="Inventory" parent="Spatial/Camera" instance=ExtResource( 2 )]
[node name="MeshInstance" type="MeshInstance" parent="Spatial"]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 3, 0 )
visible = false
mesh = SubResource( 1 )
material/0 = null
[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 3, 0 )
shape = SubResource( 2 )
[node name="Timer" type="Timer" parent="."]
wait_time = 2.0
[node name="KillBox" type="Area" parent="."]
monitorable = false
collision_layer = 0
collision_mask = 2
[node name="CollisionShape" type="CollisionShape" parent="KillBox"]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 3, 0 )
shape = SubResource( 3 )
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
[connection signal="body_entered" from="KillBox" to="." method="_on_KillBox_body_entered"]