updated version to 2.72, fix a compilation issue.

This commit is contained in:
erwin.coumans
2008-09-12 00:59:16 +00:00
parent fae48b5c25
commit 58e1e9f049
7 changed files with 22 additions and 14 deletions

View File

@@ -544,7 +544,7 @@ void DemoApplication::shootBox(const btVector3& destination)
body->getWorldTransform().setRotation(btQuaternion(0,0,0,1));
body->setLinearVelocity(linVel);
body->setAngularVelocity(btVector3(0,0,0));
body->setCcdSquareMotionThreshold(3600);//1600);//40ms/sec for 60 hertz gives 0.66 m/frame. 40*40=1600
body->setCcdMotionThreshold(1.);
body->setCcdSweptSphereRadius(0.2f);
}