]> Untitled Git - knight.git/blob - player/player.tscn
2589c613a7faf73febdcc485bd7d8f976fee8c2d
[knight.git] / player / player.tscn
1 [gd_scene load_steps=5 format=3 uid="uid://chtr62feiltax"]
2
3 [ext_resource type="PackedScene" uid="uid://bgmpst4q8lyw2" path="res://skin/the-knight.tscn" id="1_3dem8"]
4 [ext_resource type="Script" path="res://player/player.gd" id="1_lnm7a"]
5
6 [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ew3kx"]
7 radius = 0.149709
8 height = 0.763706
9
10 [sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_tmjox"]
11 dof_blur_far_enabled = true
12 dof_blur_far_distance = 5.0
13 dof_blur_far_transition = 3.0
14 dof_blur_near_enabled = true
15 dof_blur_near_distance = 4.0
16 dof_blur_amount = 0.2
17
18 [node name="Player" type="CharacterBody3D"]
19 script = ExtResource("1_lnm7a")
20
21 [node name="CollisionShape3D" type="CollisionShape3D" parent="."]
22 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.37972, 0)
23 shape = SubResource("CapsuleShape3D_ew3kx")
24
25 [node name="skin" parent="." instance=ExtResource("1_3dem8")]
26 transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
27
28 [node name="camera-pivot" type="Node3D" parent="."]
29
30 [node name="SpringArm3D" type="SpringArm3D" parent="camera-pivot"]
31 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)
32 spring_length = 5.0
33
34 [node name="Camera3D" type="Camera3D" parent="camera-pivot/SpringArm3D"]
35 attributes = SubResource("CameraAttributesPractical_tmjox")