diff options
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/customer/movement.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/customer/movement.rs b/server/src/customer/movement.rs index 681b2b67..3fcf37aa 100644 --- a/server/src/customer/movement.rs +++ b/server/src/customer/movement.rs @@ -20,7 +20,7 @@ use glam::{IVec2, Vec2}; use std::collections::HashSet; const PLAYER_SIZE: f32 = 0.4; -const PLAYER_SPEED: f32 = 25.; +const PLAYER_SPEED: f32 = 65.; pub const PLAYER_SPEED_LIMIT: f32 = f32::INFINITY; // 10.; pub struct MovementBase { @@ -38,7 +38,7 @@ impl MovementBase { let rot = self.facing.x.atan2(self.facing.y); self.vel += direction * dt * PLAYER_SPEED; self.position += self.vel * dt; - self.vel = self.vel * (-dt * 5.).exp(); + self.vel = self.vel * (-dt * 15.).exp(); collide_player(self, map); PacketS::Position { |