From 90f0e2dd420ba62066cc4d1a6cf42e469563baba Mon Sep 17 00:00:00 2001 From: mid <> Date: Sun, 29 Jun 2025 20:47:24 +0300 Subject: [PATCH] Physics stability --- src/game.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game.c b/src/game.c index 54ac6d8..bc3de84 100644 --- a/src/game.c +++ b/src/game.c @@ -986,8 +986,8 @@ void game_cleanup() { Game.phys = dWorldCreate(); dWorldSetGravity(Game.phys, 0, -15, 0); - dWorldSetCFM(Game.phys, 0.0001); - dWorldSetERP(Game.phys, 0.5); + dWorldSetCFM(Game.phys, 0.0002); + dWorldSetERP(Game.phys, 0.2); Game.space = dHashSpaceCreate(NULL);