0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-11-27 09:50:52 -05:00

fixed bug in constraints for compounds

This commit is contained in:
liabru 2015-04-21 20:24:21 +01:00
parent 17589bc46f
commit 13fcb4b8f9

View file

@ -265,12 +265,12 @@ var Constraint = {};
if (j > 0) {
Vector.rotateAbout(part.position, impulse.angle, body.position, part.position);
}
impulse.angle = 0;
}
Bounds.update(part.bounds, part.vertices);
}
impulse.angle = 0;
impulse.x = 0;
impulse.y = 0;
}