Physics stability
This commit is contained in:
parent
355df2ee44
commit
90f0e2dd42
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user