title: box2d many static object
body: <p>I'm on stage a lot of static objects - obstacles. I add them as follows:</p>
  
  <pre><code> b2BodyDef groundBodyDef;
                      groundBodyDef.position.Set(i/PTM_RATIO, j/PTM_RATIO);
  
                      b2Body *groundBody = world-&gt;CreateBody(&amp;groundBodyDef);
                      b2PolygonShape groundEdge;
                      b2FixtureDef boxShapeDef;
                      boxShapeDef.shape = &amp;groundEdge;
  
                      groundEdge.SetAsBox(64/PTM_RATIO, 64/PTM_RATIO);
                      groundBody-&gt;CreateFixture(&amp;boxShapeDef);
  </code></pre>
  
  <p>And it turns out that such objects around 2000 and eventually begins to slow down the application .. 
  How can I add a simple square girlfriend static objects just for the Coliseum?</p>