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

@@ -33,7 +33,7 @@ class BasicDemo : public DemoApplication
//keep the collision shapes, for deletion/cleanup
btAlignedObjectArray<btCollisionShape*> m_collisionShapes;
btBroadphaseInterface* m_overlappingPairCache;
btBroadphaseInterface* m_broadphase;
btCollisionDispatcher* m_dispatcher;