mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
only adds lastMovedBy when there was no damage - fixes #99
This commit is contained in:
parent
e370adf746
commit
0edde06d67
8 changed files with 403 additions and 21 deletions
|
|
@ -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!
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue