Box2d increasing maximum number of bodies
BlitzMax Forums/Brucey's Modules/Box2d increasing maximum number of bodies
| ||
Ive got a few concepts running atm but the main limitation im hitting it the maximum proxy or body/shape limits Is there a way to extend or increase the allowed amount I need around 4000 boxes per level and the all start static and need to be both visable and able to collide with. is this possible |
| ||
From the box2d forum: "You can allow for more shapes by increasing b2_maxProxies in b2Settings.h." It's in Source\Common. You need to recompile the mod. |
| ||
thanks Volker got that working :) |
| ||
I'd be sure to test the resulting program on lesser hardware (I see you're on a quadcore 3.2Ghz...), as I'm sure the 4000 limit is there for a reason. It may become intolerably slow on, say, a dualcore 2Ghz. But who knows? Russell |