var shape = new CANNON.Box(new CANNON.Vec3(1,1,1)); var body = new CANNON.Body({ mass: 1 }); for(var i=0;i<10){ body.addShape(shape, new CANNON.Vec3(i/5-3,0/5-3,-2+0.1)); }