dispatcher = new CollisionDispatcher(collisionConfiguration);
Vector3f worldMin = new Vector3f(-1000f,-1000f,-1000f);
Vector3f worldMax = new Vector3f(1000f,1000f,1000f);
//broadphase = new AxisSweep3(worldMin, worldMax);
//broadphase = new SimpleBroadphase();
broadphase = new DbvtBroadphase();
//btOverlappingPairCache* broadphase = new btSimpleBroadphase();
solver = new SequentialImpulseConstraintSolver();
//ConstraintSolver* solver = new OdeConstraintSolver;
dynamicsWorld = new DiscreteDynamicsWorld(dispatcher,broadphase,solver,collisionConfiguration);