diff --git a/Demos/UserCollisionAlgorithm/UserCollisionAlgorithm.cpp b/Demos/UserCollisionAlgorithm/UserCollisionAlgorithm.cpp index 6ef143e0f..3f7786db2 100644 --- a/Demos/UserCollisionAlgorithm/UserCollisionAlgorithm.cpp +++ b/Demos/UserCollisionAlgorithm/UserCollisionAlgorithm.cpp @@ -100,8 +100,7 @@ void UserCollisionAlgorithm::initPhysics() delete[] gVertices; - bool useQuantizedBvhTree = false; -// btTriangleMesh uses a subpart for each triangle, this is not compatible with compressed quantized bvh node + bool useQuantizedBvhTree = true; btCollisionShape* trimeshShape = new btBvhTriangleMeshShape(trimesh,useQuantizedBvhTree); //ConstraintSolver* solver = new btSequentialImpulseConstraintSolver;