Fixed camera

interactions
cblech 1 year ago
parent 4ce0367f15
commit dc322d8943

@ -1,4 +1,4 @@
[gd_scene load_steps=32 format=3 uid="uid://c1j5u0cjdswvp"]
[gd_scene load_steps=32 format=3 uid="uid://clxs6xfesi82s"]
[ext_resource type="Texture2D" uid="uid://cg1cxmqbo1pa" path="res://graphics/mockups/darktree1.png" id="1_u6vd6"]
[ext_resource type="Texture2D" uid="uid://fcm6etmmj65d" path="res://graphics/mockups/darktree2.png" id="2_tcvf7"]
@ -26,7 +26,7 @@
[ext_resource type="Texture2D" uid="uid://dfynp0xqtpcke" path="res://graphics/testingground/chestnut1.png" id="24_ohuks"]
[ext_resource type="Texture2D" uid="uid://63rgrra0tdef" path="res://graphics/testingground/chestnut2.png" id="25_j83yj"]
[ext_resource type="Texture2D" uid="uid://cygt1j1m0vpqg" path="res://graphics/mockups/field_placeholder.png" id="26_7nyv4"]
[ext_resource type="PackedScene" uid="uid://dbd1niu3tp8y5" path="res://scenes/props/Player3D.tscn" id="27_mqdni"]
[ext_resource type="PackedScene" uid="uid://de2fn2m114eaw" path="res://scenes/props/Player3D.tscn" id="27_mqdni"]
[sub_resource type="PlaneMesh" id="PlaneMesh_8dxh5"]

@ -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

Loading…
Cancel
Save