Changeset 8927 in orxonox.OLD for branches/single_player_map/src/lib
- Timestamp:
- Jun 29, 2006, 11:39: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
r8925 r8927 87 87 Vector normal = ce->getGroundNormal(); 88 88 89 // c ollision position maths89 // calculate the collision position 90 90 Vector collPos = collision->getEntityB()->getAbsCoor() + box->center - ce->getCollisionPosition(); 91 91 … … 98 98 front = collPos.x - box->halfLength[0]; 99 99 100 PRINTF(0)("front: %f\n", front);101 PRINTF(0)("in wall %i\n", ce->isInWall());100 // PRINTF(0)("front: %f\n", front); 101 // PRINTF(0)("in wall %i\n", ce->isInWall()); 102 102 103 103 // object is beneath the plane (ground) … … 119 119 height = collPos.y - box->halfLength[1]; 120 120 121 PRINTF(0)("height: %f\n", height);122 PRINTF(0)("in wall %i\n", ce->isInWall());121 // PRINTF(0)("height: %f\n", height); 122 // PRINTF(0)("in wall %i\n", ce->isInWall()); 123 123 124 124 // object is beneath the plane (ground) … … 140 140 side = collPos.z - box->halfLength[2]; 141 141 142 PRINTF(0)("side: %f\n", side);143 PRINTF(0)("in wall %i\n", ce->isInWall());142 // PRINTF(0)("side: %f\n", side); 143 // PRINTF(0)("in wall %i\n", ce->isInWall()); 144 144 145 145 // object is beneath the plane (ground) … … 155 155 break; 156 156 } 157 PRINTF(0)("collision distanzes: x: %f, y: %f, z: %f\n", front, height, side); 157 158 } 158 159
Note: See TracChangeset
for help on using the changeset viewer.