only adds lastMovedBy when there was no damage - fixes #99

This commit is contained in:
logsol 2015-08-02 11:38:45 +02:00
parent e370adf746
commit 0edde06d67
8 changed files with 403 additions and 21 deletions

View file

@ -421,7 +421,7 @@ function () {
"height": "9",
"type": "rubedoll",
"grabAngle": "0.1",
"grabAngle": "0.001", // seems to be a bug, that 0 does not work!
}
};

View file

@ -16,8 +16,8 @@ function () {
BOX2D_WORLD_AABB_SIZE: 3000,
BOX2D_ALLOW_SLEEP: true,
BOX2D_GRAVITY: 26,
BOX2D_VELOCITY_ITERATIONS: 200,
BOX2D_POSITION_ITERATIONS: 100,
BOX2D_VELOCITY_ITERATIONS: 20,
BOX2D_POSITION_ITERATIONS: 10, // 200/100 created problems (awful teleporting when repositioning joints)
BOX2D_TIME_STEP: 1 / 60,
// PATHS