Revert to max 1 substep by default: increased maxSubSteps to 10 make debug version way too slow.

Use btDbvtBroadphase in BasicDemo and CcdPhysicsDemo.
This commit is contained in:
erwin.coumans
2008-09-05 01:41:32 +00:00
parent e08c3acc1d
commit cef07cfa20
5 changed files with 14 additions and 35 deletions

View File

@@ -186,7 +186,7 @@ void ConcaveDemo::initPhysics()
bool useQuantizedAabbCompression = true;
//comment out the next line to read the BVH from disk (first run the demo once to create the BVH)
//#define SERIALIZE_TO_DISK 1
#define SERIALIZE_TO_DISK 1
#ifdef SERIALIZE_TO_DISK
btVector3 aabbMin(-1000,-1000,-1000),aabbMax(1000,1000,1000);