Physics stability

This commit is contained in:
mid 2025-06-29 20:47:24 +03:00
parent 355df2ee44
commit 90f0e2dd42

View File

@ -986,8 +986,8 @@ void game_cleanup() {
Game.phys = dWorldCreate(); Game.phys = dWorldCreate();
dWorldSetGravity(Game.phys, 0, -15, 0); dWorldSetGravity(Game.phys, 0, -15, 0);
dWorldSetCFM(Game.phys, 0.0001); dWorldSetCFM(Game.phys, 0.0002);
dWorldSetERP(Game.phys, 0.5); dWorldSetERP(Game.phys, 0.2);
Game.space = dHashSpaceCreate(NULL); Game.space = dHashSpaceCreate(NULL);