We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b79ece2 commit 3f9364cCopy full SHA for 3f9364c
1 file changed
src/body/Body.js
@@ -581,7 +581,7 @@ var Axes = require('../geometry/Axes');
581
body.force.x += force.x;
582
body.force.y += force.y;
583
var offset = { x: position.x - body.position.x, y: position.y - body.position.y };
584
- body.torque += (offset.x * force.y - offset.y * force.x) * body.inverseInertia;
+ body.torque += offset.x * force.y - offset.y * force.x;
585
};
586
587
/**
0 commit comments