Changeset 2150 for code/branches/physics/src/orxonox/objects/Scene.cc
- Timestamp:
- Nov 6, 2008, 12:54:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics/src/orxonox/objects/Scene.cc
r2087 r2150 62 62 this->rootSceneNode_ = 0; 63 63 } 64 // create bullet world; bullet solver etc. 65 66 // int maxProxies = 1024; 67 68 btVector3 worldAabbMin(-10000,-10000,-10000); 69 btVector3 worldAabbMax(10000,10000,10000); 70 bt32BitAxisSweep3* broadphase = new bt32BitAxisSweep3(worldAabbMin,worldAabbMax); 71 72 this -> collisionConfiguration_ = new btDefaultCollisionConfiguration(); 73 this -> dispatcher_ = new btCollisionDispatcher(collisionConfiguration_); 74 75 this -> solver_ = new btSequentialImpulseConstraintSolver; 76 77 this -> dynamicsWorld_ = new btDiscreteDynamicsWorld(dispatcher_,broadphase,solver_,collisionConfiguration_); 78 79 // dynamicsWorld->setGravity(btVector3(0,-10,0)); 80 64 81 } 65 82 else
Note: See TracChangeset
for help on using the changeset viewer.