34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://scripts/camera_room.gd" type="Script" id=1]
|
|
|
|
[sub_resource type="BoxShape" id=8]
|
|
extents = Vector3( 2.39087, 1.93969, 2.6586 )
|
|
|
|
[sub_resource type="CapsuleShape" id=2]
|
|
radius = 4.16005
|
|
height = 5.24756
|
|
|
|
[node name="camera_galley" type="Spatial"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -16.3042 )
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="camera" type="Camera" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 0.642788, 0.766044, 0, -0.766044, 0.642788, 0, 8.562, 6.501 )
|
|
fov = 40.0
|
|
|
|
[node name="hitbox" type="Area" parent="."]
|
|
collision_layer = 16
|
|
collision_mask = 2
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="hitbox"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00713015, 2.07098, 1.38972 )
|
|
shape = SubResource( 8 )
|
|
|
|
[node name="CollisionShape2" type="CollisionShape" parent="hitbox"]
|
|
transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, -0.099 )
|
|
shape = SubResource( 2 )
|
|
|
|
[connection signal="area_entered" from="hitbox" to="." method="_on_hitbox_area_entered"]
|
|
[connection signal="area_exited" from="hitbox" to="." method="_on_hitbox_area_exited"]
|