From f08d8bb00a08ec0dcfd7cfeeec9d653f8f4132c2 Mon Sep 17 00:00:00 2001 From: Joshua Barretto Date: Sat, 3 Aug 2019 21:58:34 +0100 Subject: [PATCH] Better movement lerping --- common/src/sys/movement.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/sys/movement.rs b/common/src/sys/movement.rs index 401180ba5b..18f4dfb219 100644 --- a/common/src/sys/movement.rs +++ b/common/src/sys/movement.rs @@ -120,7 +120,7 @@ impl<'a> System<'a> for Sys { && (ori.0.normalized() - Vec3::from(ori_dir).normalized()).magnitude_squared() > 0.001 { - ori.0 = vek::ops::Slerp::slerp(ori.0, ori_dir.into(), 5.0 * dt.0); + ori.0 = vek::ops::Slerp::slerp(ori.0, ori_dir.into(), 15.0 * dt.0); } }