Changeset 8824 in orxonox.OLD for branches/single_player_map/src/lib/collision_reaction
- Timestamp:
- Jun 27, 2006, 2:31:12 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/lib/collision_reaction/cr_physics_ground_walk.cc
r8812 r8824 25 25 26 26 #include <vector> 27 28 #include "debug.h" 27 29 28 30 #include "aabb.h" … … 67 69 AABB* box = collision->getEntityB()->getModelAABB(); 68 70 71 if( box != NULL) 72 { 73 PRINTF(0)("collpos:\n"); 74 Vector collPos = ce->getCollisionPosition(); 75 collPos.debug(); 69 76 77 } 70 78 71 if(box!=NULL) 79 #if 0 80 if( box != NULL) 72 81 height = ( ce->getCollisionPosition() - collision->getEntityB()->getAbsCoor() )*(-1.0f) ; 73 82 else 74 83 height = ce->getCollisionPosition() - collision->getEntityB()->getAbsCoor() ; 75 84 76 if(box!=NULL) { 85 86 if( box != NULL) { 77 87 78 88 … … 124 134 125 135 }// if(box!= NULL) 136 #endif 126 137 /* 127 138 PRINTF(0)("Collision with Ground: \n");
Note: See TracChangeset
for help on using the changeset viewer.