[gd_scene load_steps=8 format=3 uid="uid://bqp5mwyat3asv"] [ext_resource type="Script" path="res://src/player/player.gd" id="1_h16ke"] [ext_resource type="Script" path="res://src/player/third_person_camera.gd" id="3_gichr"] [ext_resource type="PackedScene" uid="uid://dd7ebaau8a70n" path="res://assets/models/bipedal_mech/mech.tscn" id="4_s7336"] [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_otw5j"] radius = 0.7 [sub_resource type="Animation" id="Animation_ss43j"] resource_name = "boost_fov" tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("CameraRoot/SpringArm3D/Camera3D:fov") tracks/0/interp = 2 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.1, 1), "transitions": PackedFloat32Array(1, 1, 1), "update": 0, "values": [75.0, 80.0, 75.0] } [sub_resource type="Animation" id="Animation_ycaf1"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("CameraRoot/SpringArm3D/Camera3D:fov") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [75.0] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_pg8yw"] _data = { "RESET": SubResource("Animation_ycaf1"), "boost_fov": SubResource("Animation_ss43j") } [node name="Player" type="CharacterBody3D"] script = ExtResource("1_h16ke") [node name="Mesh" type="Node3D" parent="."] [node name="Mech" parent="Mesh" instance=ExtResource("4_s7336")] transform = Transform3D(0.15, 0, 0, 0, 0.15, 0, 0, 0, 0.15, 0, 0, -0.05) [node name="CollisionShape3D" type="CollisionShape3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) shape = SubResource("CapsuleShape3D_otw5j") [node name="CameraRoot" type="Node3D" parent="."] transform = Transform3D(1, 0, 0, 0, 0.965926, -0.258819, 0, 0.258819, 0.965926, 0, 2, 0) script = ExtResource("3_gichr") [node name="SpringArm3D" type="SpringArm3D" parent="CameraRoot"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, 0) spring_length = -1.5 [node name="Camera3D" type="Camera3D" parent="CameraRoot/SpringArm3D"] transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 0, -1.5) current = true [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { "": SubResource("AnimationLibrary_pg8yw") } [connection signal="stomp" from="Mesh/Mech" to="." method="_on_mech_stomp"]