]> Untitled Git - knight.git/blobdiff - player/player.tscn
Updated to Godot 4.4
[knight.git] / player / player.tscn
index ac16d4b706243aeccfc0fb5515b16d627fb94ee3..804e5fe7dd6987b5019eff61170c8f57ca1ecad7 100644 (file)
@@ -1,17 +1,25 @@
-[gd_scene load_steps=4 format=3 uid="uid://chtr62feiltax"]
+[gd_scene load_steps=5 format=3 uid="uid://chtr62feiltax"]
 
 [ext_resource type="PackedScene" uid="uid://bgmpst4q8lyw2" path="res://skin/the-knight.tscn" id="1_3dem8"]
-[ext_resource type="Script" path="res://player/player.gd" id="1_lnm7a"]
+[ext_resource type="Script" uid="uid://bbld5gjnnjdd0" path="res://player/player.gd" id="1_lnm7a"]
 
 [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ew3kx"]
-radius = 0.279573
-height = 0.942401
+radius = 0.149709
+height = 0.763706
+
+[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_tmjox"]
+dof_blur_far_enabled = true
+dof_blur_far_distance = 5.0
+dof_blur_far_transition = 3.0
+dof_blur_near_enabled = true
+dof_blur_near_distance = 4.0
+dof_blur_amount = 0.2
 
 [node name="Player" type="CharacterBody3D"]
 script = ExtResource("1_lnm7a")
 
 [node name="CollisionShape3D" type="CollisionShape3D" parent="."]
-transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.459262, 0)
+transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.37972, 0)
 shape = SubResource("CapsuleShape3D_ew3kx")
 
 [node name="skin" parent="." instance=ExtResource("1_3dem8")]
@@ -20,7 +28,8 @@ transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
 [node name="camera-pivot" type="Node3D" parent="."]
 
 [node name="SpringArm3D" type="SpringArm3D" parent="camera-pivot"]
-transform = Transform3D(-1, 0, -8.74228e-08, -2.26267e-08, 0.965926, 0.258819, 8.44439e-08, 0.258819, -0.965926, 0, 0.443057, 0)
-spring_length = 3.0
+transform = Transform3D(-1, -1.51808e-08, 8.60946e-08, 0, 0.984808, 0.173648, -8.74228e-08, 0.173648, -0.984808, 0, 0.443057, 0)
+spring_length = 5.0
 
 [node name="Camera3D" type="Camera3D" parent="camera-pivot/SpringArm3D"]
+attributes = SubResource("CameraAttributesPractical_tmjox")