From 96c770dbb160bb0b40dee63838875d321b9a3ae3 Mon Sep 17 00:00:00 2001 From: Joshua Yanovski Date: Thu, 19 May 2022 18:53:44 -0700 Subject: [PATCH] Change to aim properly in first rather than third. --- voxygen/src/session/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/voxygen/src/session/mod.rs b/voxygen/src/session/mod.rs index 896a393cc0..1cee829338 100644 --- a/voxygen/src/session/mod.rs +++ b/voxygen/src/session/mod.rs @@ -399,6 +399,8 @@ impl PlayState for SessionState { ( is_aiming, if is_aiming && self.scene.camera().get_mode() == CameraMode::ThirdPerson { + Vec3::unit_z() * 0.025 + } else if is_aiming { let vel = ( &client.state().ecs().read_storage::(), &client.state().ecs().read_storage::(), @@ -412,7 +414,7 @@ impl PlayState for SessionState { } else { Vec3::zero() }; - Vec3::unit_z() * 0.025 + vel + vel } else { Vec3::zero() },