Changeset 8834 in orxonox.OLD for branches/single_player_map/src
- Timestamp:
- Jun 27, 2006, 4:39:15 PM (18 years ago)
- Location:
- branches/single_player_map/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/lib/collision_reaction/cr_physics_ground_walk.cc
r8829 r8834 69 69 AABB* box = collision->getEntityB()->getModelAABB(); 70 70 71 if( box != NULL) 72 { 71 73 74 Vector collPos = collision->getEntityB()->getAbsCoor() + box->center - ce->getCollisionPosition(); 75 PRINTF(0)("height: %f , model height: %f\n", collPos.y, box->halfLength[1]); 76 77 } 78 79 #if 0 72 80 if( box != NULL) 73 81 height = ( ce->getCollisionPosition() - collision->getEntityB()->getAbsCoor() )*(-1.0f) ; … … 126 134 127 135 }// if(box!= NULL) 128 136 #endif 129 137 /* 130 138 PRINTF(0)("Collision with Ground: \n"); -
branches/single_player_map/src/story_entities/multi_player_world.cc
r8717 r8834 98 98 this->dataTank->objectManager->getObjectList(OM_PLAYERS_PROJ)); 99 99 100 CDEngine::getInstance()->checkCollisions(this->dataTank->objectManager->getObjectList(OM_PLAYERS), 101 this->dataTank->objectManager->getObjectList(OM_GROUP_00_PROJ)); 102 CDEngine::getInstance()->checkCollisions(this->dataTank->objectManager->getObjectList(OM_PLAYERS), 103 this->dataTank->objectManager->getObjectList(OM_GROUP_01_PROJ)); 104 100 105 CDEngine::getInstance()->checkCollisions(this->dataTank->objectManager->getObjectList(OM_GROUP_00), 101 106 this->dataTank->objectManager->getObjectList(OM_GROUP_01_PROJ)); -
branches/single_player_map/src/world_entities/world_entity.cc
r8778 r8834 193 193 PRINTF(1)("OBJ-File %s not found.\n", fileName.c_str()); 194 194 195 if( modelNumber == 0 )195 if( modelNumber == 0 && !this->isA(CL_WEAPON)) 196 196 this->buildObbTree(obbTreeDepth); 197 197 }
Note: See TracChangeset
for help on using the changeset viewer.