From 0626a0292011a76b87e40aabb34320c5b5810b86 Mon Sep 17 00:00:00 2001 From: James Lambert Date: Fri, 1 Dec 2023 19:56:06 -0700 Subject: [PATCH] Adjust gravity constant --- src/physics/config.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/physics/config.h b/src/physics/config.h index 60c4a07..8584528 100644 --- a/src/physics/config.h +++ b/src/physics/config.h @@ -1,6 +1,7 @@ #ifndef __PHYSICS_CONFIG_H__ #define __PHYSICS_CONFIG_H__ -#define GRAVITY_CONSTANT -9.8f +// values comes from sv_gravity constant from portal +#define GRAVITY_CONSTANT (-600.0f / 64.0f) #endif \ No newline at end of file