[gd_scene load_steps=4 format=2] [ext_resource path="res://character/fps_controller/fps_controller.gd" type="Script" id=1] [sub_resource type="CapsuleShape" id=1] radius = 0.3 height = 2.0 [sub_resource type="CapsuleShape" id=2] radius = 0.374691 height = 0.0688557 [node name="fps_controller" type="KinematicBody"] collision_mask = 148 script = ExtResource( 1 ) [node name="CollisionShape" type="CollisionShape" parent="."] transform = Transform( 1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0 ) shape = SubResource( 1 ) [node name="Camera" type="Camera" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.30045, 0 ) far = 5000.0 [node name="RayCast" type="RayCast" parent="Camera"] cast_to = Vector3( 0, 0, -3 ) collision_mask = 2 [node name="ladder_detector" type="Area" parent="."] collision_layer = 0 collision_mask = 4 [node name="CollisionShape" type="CollisionShape" parent="ladder_detector"] transform = Transform( 1, 0, 0, 0, -1, -8.74228e-08, 0, 8.74228e-08, -1, 0, 0.0169024, -0.28562 ) shape = SubResource( 2 ) [connection signal="body_entered" from="ladder_detector" to="." method="_on_ladder_detector_body_entered"] [connection signal="body_exited" from="ladder_detector" to="." method="_on_ladder_detector_body_exited"]