We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07a2a81 commit 03810ecCopy full SHA for 03810ec
1 file changed
src/physics/matter-js/lib/body/Body.js
@@ -468,6 +468,7 @@ var Axes = require('../geometry/Axes');
468
Axes.rotate(part.axes, delta);
469
Bounds.update(part.bounds, part.vertices, body.velocity);
470
if (i > 0) {
471
+ part.angle += body.angularVelocity;
472
Vector.rotateAbout(part.position, delta, body.position, part.position);
473
}
474
0 commit comments