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 f2c8e60045
commit a4d10109fd

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