http://blog.csdn.net/vagrxie/article/details/5952310有个指南。
http://bulletphysics.org/mediawiki-1.5.8/index.php/Hello_World 来 基本了解bullet。
设置球弹性系数后,一直没弹性效果。 后来发现 ,地板的btRigidBodyConstructionInfo 也需要设置 rbInfo.m_restitution = 0.2f; 才有效。
整体和ogre应相似。
Creating The World
1:btBroadphaseInterface* broadphase =newbtDbvtBroadphase();应该是设置一种算法,来快速排出非运动物体,并运用包围盒包围球等来进行相应的碰撞检测。2.: btDefaultCollisionConfiguration* collisionConfiguration =newbtDef