Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 7, 2006, 9:24:25 PM (18 years ago)
Author:
patrick
Message:

bsp: integrated the collision checks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/bsp_model/src/story_entities/game_world.cc

    r8190 r8215  
    413413void GameWorld::collisionDetection()
    414414{
     415  // object-object collision detection
    415416  CDEngine::getInstance()->checkCollisions(this->dataTank->objectManager->getObjectList(OM_GROUP_00),
    416417      this->dataTank->objectManager->getObjectList(OM_GROUP_01_PROJ));
     
    425426      this->dataTank->objectManager->getObjectList(OM_COMMON));
    426427
     428  // ground collision detection: BSP Model
     429  CDEngine::getInstance()->checkCollisionGround(this->dataTank->objectManager->getObjectList(OM_GROUP_00));
    427430}
    428431
Note: See TracChangeset for help on using the changeset viewer.