Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8216 in orxonox.OLD for branches/bsp_model/src/lib/graphics/importer


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

bsp: collision registering should now work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/bsp_model/src/lib/graphics/importer/bsp_manager.cc

    r8215 r8216  
    874874
    875875
    876 
    877 
    878 
    879 
    880 
    881 
    882876  if(!worldEntity->isA(CL_PLAYABLE)) {
    883877
     
    937931    // Return the normal here: Normal's stored in this->collPlane;
    938932
    939     if(collision) worldEntity->collidesWithGround(out,out1,out2);
    940 //     registerCollision(WorldEntity* entity, Vector(this->collPlane.x, ), Vector position);
    941 
    942   }
    943 
     933    if(collision)
     934      worldEntity->registerCollision(worldEntity, Vector(this->collPlane->x, this->collPlane->y, this->collPlane->z), out);
     935//       worldEntity->collidesWithGround(out,out1,out2);
     936  }
    944937}
    945938
Note: See TracChangeset for help on using the changeset viewer.