Changeset 8490 in orxonox.OLD for trunk/src/story_entities/game_world.cc
- Timestamp:
- Jun 15, 2006, 9:34:48 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/game_world.cc
r8408 r8490 299 299 /* process time */ 300 300 this->tick (); 301 301 302 /* collision detection */ 302 303 this->collisionDetection (); 303 304 /* collision reaction */ 304 305 this->collisionReaction (); 306 305 307 /* update the state */ 306 308 this->update (); 309 307 310 /* check the game rules */ 308 311 this->checkGameRules(); … … 434 437 void GameWorld::collisionDetection() 435 438 { 439 // object-object collision detection 436 440 CDEngine::getInstance()->checkCollisions(this->dataTank->objectManager->getObjectList(OM_GROUP_00), 437 441 this->dataTank->objectManager->getObjectList(OM_GROUP_01_PROJ)); … … 446 450 this->dataTank->objectManager->getObjectList(OM_COMMON)); 447 451 452 // ground collision detection: BSP Model 453 CDEngine::getInstance()->checkCollisionGround(this->dataTank->objectManager->getObjectList(OM_GROUP_00)); 454 CDEngine::getInstance()->checkCollisionGround(this->dataTank->objectManager->getObjectList(OM_GROUP_01)); 448 455 } 449 456
Note: See TracChangeset
for help on using the changeset viewer.