diff --git a/lib/network/modules/PhysicsEngine.js b/lib/network/modules/PhysicsEngine.js index 1ad93783..ff13ccb0 100644 --- a/lib/network/modules/PhysicsEngine.js +++ b/lib/network/modules/PhysicsEngine.js @@ -498,7 +498,7 @@ class PhysicsEngine { for (let edgeId in edges) { if (edges.hasOwnProperty(edgeId)) { let edge = edges[edgeId]; - if (edge.options.physics === true) { + if (edge.options.physics === true && edge.connected === true) { physicsWorkerEdges[edgeId] = { connected: edge.connected, id: edge.id,