From 93c1a58521c440d78a1e4a60886c6f61ff153e48 Mon Sep 17 00:00:00 2001 From: Muhammad Nauman Raza Date: Mon, 4 Dec 2023 21:07:36 +0000 Subject: [PATCH] hotfix: massive blink distance Former-commit-id: 77371ff4a8a83e924ab323346a4f6c820dcf1052 --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 2adde83..970b1ec 100644 --- a/src/main.rs +++ b/src/main.rs @@ -155,7 +155,7 @@ fn movement( // Change the player rotation around the Z-axis only if not blinking transform.rotate_z(rotation_factor * player.rotation_speed * time.delta_seconds()); } else { - movement_distance = blink_factor * player.movement_speed * 0.1; + movement_distance = blink_factor * player.movement_speed * 0.01; } // Create the translation using the movement direction and distance