We use “b2World* world = new b2World(gravity, doSleep);” to create box2d world, but I haven’t known how to destroy box2d world. Could anyone help me? It will cause a error if I use “delete world”.
How delete box2d world
check Box2dTest.cpp in cpp tests.