]> Untitled Git - knight.git/blobdiff - player/player.tscn
Getting the look and feel right
[knight.git] / player / player.tscn
index ac16d4b706243aeccfc0fb5515b16d627fb94ee3..7d9c024c8a09473a2436b0389ce50f634563c12f 100644 (file)
@@ -1,11 +1,19 @@
-[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"]
 
 [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ew3kx"]
-radius = 0.279573
-height = 0.942401
+radius = 0.202782
+height = 0.857531
+
+[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")
@@ -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.56557e-08, -1.45851e-07, -2.26267e-08, 0.965926, 0.258819, 1.44933e-07, 0.258819, -0.965926, 0, 0.443057, 0)
+spring_length = 5.0
 
 [node name="Camera3D" type="Camera3D" parent="camera-pivot/SpringArm3D"]
+attributes = SubResource("CameraAttributesPractical_tmjox")