aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-09-21 22:45:04 +0200
committermetamuffin <metamuffin@disroot.org>2024-09-21 22:45:04 +0200
commit14572c5cac2e16d10a29b1cf527037be7b72ab1c (patch)
tree735b10fc6cd2292c55a8e1d85d5963c60d911abe
parent158d6f52ec38c823e5cb2b3e82a50add45f301df (diff)
downloadhurrycurry-14572c5cac2e16d10a29b1cf527037be7b72ab1c.tar
hurrycurry-14572c5cac2e16d10a29b1cf527037be7b72ab1c.tar.bz2
hurrycurry-14572c5cac2e16d10a29b1cf527037be7b72ab1c.tar.zst
adjust fps camera
-rw-r--r--client/player/follow_camera.gd2
-rw-r--r--server/src/lib.rs2
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};