hotfix: massive blink distance

Former-commit-id: 77371ff4a8a83e924ab323346a4f6c820dcf1052
This commit is contained in:
Muhammad Nauman Raza 2023-12-04 21:07:36 +00:00
parent 5b73311b4c
commit 93c1a58521
Signed by: devraza
GPG key ID: 91EAD6081011574B

View file

@ -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