Fixed camera

This commit is contained in:
cblech
2024-12-20 14:52:24 +01:00
parent 4ce0367f15
commit dc322d8943
2 changed files with 6 additions and 7 deletions
+4 -5
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=5 format=3 uid="uid://dbd1niu3tp8y5"]
[gd_scene load_steps=5 format=3 uid="uid://de2fn2m114eaw"]
[ext_resource type="Texture2D" uid="uid://cvn2p215jq2am" path="res://graphics/testingground/concerned.png" id="1_5jpx2"]
[ext_resource type="Script" path="res://scripts/player_3d.gd" id="1_08wm4"]
@@ -27,11 +27,10 @@ shape = SubResource("CapsuleShape3D_1vdrh")
[node name="CameraPivot" type="Node3D" parent="CharacterBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.159723, 0)
script = ExtResource("3_drcdp")
canPitch = true
canYaw = true
[node name="SubPivot" type="Node3D" parent="CharacterBody3D/CameraPivot"]
transform = Transform3D(1, 0, 0, 0, 0.901878, 0.431991, 0, -0.431991, 0.901878, 0, 0, 0)
[node name="Camera3D" type="Camera3D" parent="CharacterBody3D/CameraPivot/SubPivot"]
transform = Transform3D(1, 0, 0, 0, 0.871025, 0.491238, 0, -0.491238, 0.871025, 0, 0.658355, 1.24487)
fov = 28.5
transform = Transform3D(1, 0, 0, 0, 0.897258, 0.441506, 0, -0.441506, 0.897258, 0, 0.788471, 1.52789)
fov = 24.0844