diff --git a/src/core/Engine.js b/src/core/Engine.js index 8d93e63..40306d6 100644 --- a/src/core/Engine.js +++ b/src/core/Engine.js @@ -284,6 +284,7 @@ var Body = require('../body/Body'); if (gravity.x === 0 && gravity.y === 0) { return; } + for (var i = 0; i < bodies.length; i++) { var body = bodies[i];