From 403910d2d84bb9dccb64c4afa2b5ec460bc8291d Mon Sep 17 00:00:00 2001 From: Quaternions Date: Thu, 31 Aug 2023 12:10:49 -0700 Subject: [PATCH] rbhop jump power --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index cdd96b2..5a83204 100644 --- a/src/main.rs +++ b/src/main.rs @@ -531,7 +531,7 @@ impl strafe_client::framework::Example for Skybox { } if self.camera.grounded&&(self.camera.controls&CONTROL_JUMP)!=0 { self.camera.grounded=false; - self.camera.vel+=glam::Vec3::new(0.0,50.0,0.0); + self.camera.vel+=glam::Vec3::new(0.0,0.715588/2.0*100.0,0.0); } if self.camera.grounded { let applied_friction=self.camera.friction*dt;