dispatcher = new CollisionDispatcher(collisionConfiguration);
Vector3f worldMin = new Vector3f(-1000, -1000, -1000);
Vector3f worldMax = new Vector3f(1000, 1000, 1000);
//overlappingPairCache = new AxisSweep3(worldMin, worldMax);
//overlappingPairCache = new SimpleBroadphase();
overlappingPairCache = new DbvtBroadphase();
constraintSolver = new SequentialImpulseConstraintSolver();
dynamicsWorld = new DiscreteDynamicsWorld(dispatcher, overlappingPairCache, constraintSolver, collisionConfiguration);
//#ifdef FORCE_ZAXIS_UP
//dynamicsWorld.setGravity(new Vector3f(0, 0, -10));
//#endif