Skip to content

Commit

Permalink
fixed bug in constraints for compounds
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Apr 21, 2015
1 parent 17589bc commit 13fcb4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constraint/Constraint.js
Expand Up @@ -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;
}
Expand Down

0 comments on commit 13fcb4b

Please sign in to comment.