From 14572c5cac2e16d10a29b1cf527037be7b72ab1c Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sat, 21 Sep 2024 22:45:04 +0200 Subject: adjust fps camera --- client/player/follow_camera.gd | 2 +- server/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/player/follow_camera.gd b/client/player/follow_camera.gd index 905d4938..f7a00c64 100644 --- a/client/player/follow_camera.gd +++ b/client/player/follow_camera.gd @@ -71,7 +71,7 @@ func reset(): func follow(delta): if Global.get_setting("gameplay.first_person"): - global_position = target.global_position + Vector3.UP * 1.5 + global_position = target.global_position + Vector3.UP * 1.33 rotation = target.rotation + Vector3(0,PI,0) if target.get_parent() is ControllablePlayer: target.get_parent().input_rotation = -rotation.y diff --git a/server/src/lib.rs b/server/src/lib.rs index c0ed8edb..a0b02ced 100644 --- a/server/src/lib.rs +++ b/server/src/lib.rs @@ -27,10 +27,10 @@ pub mod commands; pub mod data; pub mod entity; pub mod interaction; +pub mod network; pub mod scoreboard; pub mod server; pub mod state; -pub mod network; use hurrycurry_protocol::{glam::Vec2, Message}; -- cgit v1.2.3-70-g09d2