[gd_scene load_steps=9 format=2] [ext_resource path="res://ressources/scripts/player/camera/aim_target.gd" type="Script" id=1] [ext_resource path="res://ressources/scripts/player/camera/spring_arm.gd" type="Script" id=2] [ext_resource path="res://ressources/scripts/player/camera/camera_rig.gd" type="Script" id=3] [ext_resource path="res://ressources/scripts/state_machine/state_machine.gd" type="Script" id=4] [ext_resource path="res://ressources/scripts/player/camera/states/camera.gd" type="Script" id=5] [ext_resource path="res://ressources/scripts/player/camera/states/default.gd" type="Script" id=6] [ext_resource path="res://ressources/scripts/player/camera/states/aim.gd" type="Script" id=7] [ext_resource path="res://assets/interfaces/reticle.png" type="Texture" id=8] [node name="camera_rig" type="Spatial"] script = ExtResource( 3 ) [node name="interpolated_camera" type="InterpolatedCamera" parent="."] target = NodePath("../../spring_arm/camera_target") speed = 7.0 [node name="aim_ray" type="RayCast" parent="interpolated_camera"] [node name="spring_arm" type="SpringArm" parent="."] spring_length = 4.5 script = ExtResource( 2 ) [node name="camera_target" type="Position3D" parent="spring_arm"] [node name="aim_target" type="Sprite3D" parent="."] texture = ExtResource( 8 ) script = ExtResource( 1 ) [node name="state_machine" type="Node" parent="."] script = ExtResource( 4 ) initial_state = NodePath("camera/default") [node name="camera" type="Node" parent="state_machine"] script = ExtResource( 5 ) [node name="default" type="Node" parent="state_machine/camera"] script = ExtResource( 6 ) [node name="aim" type="Node" parent="state_machine/camera"] script = ExtResource( 7 ) [node name="tween" type="Tween" parent="state_machine/camera/aim"]