Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 29, 2006, 5:30:10 PM (18 years ago)
Author:
snellen
Message:

events get grabed now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/single_player_map/src/lib/collision_reaction/cr_physics_ground_walk.cc

    r8910 r8915  
    6464
    6565  // put it back
    66     PRINTF(0)("putting it back to lastPos: \n");
     66    // PRINTF(0)("putting it back to lastPos: \n");
    6767     //this->lastPositions[0].debug();
    68       PRINTF(0)("current pos:\n");
     68    //  PRINTF(0)("current pos:\n");
    6969     collision->getEntityB()->getAbsCoor().debug();
    7070     
     
    9797   
    9898    case COLLISION_TYPE_AXIS_X:
    99       PRINTF(0)("height: %f          , model height: %f\n", height, box->halfLength[1]);
    100       PRINTF(0)(" ground normal: %f, %f, %f\n", normal.x, normal.y, normal.z);
    101       PRINTF(0)("COLLISION_TYPE_AXIS_X \n");
     99     // PRINTF(0)("height: %f          , model height: %f\n", height, box->halfLength[1]);
     100     // PRINTF(0)(" ground normal: %f, %f, %f\n", normal.x, normal.y, normal.z);
     101     // PRINTF(0)("COLLISION_TYPE_AXIS_X \n");
    102102      break;
    103103   case COLLISION_TYPE_AXIS_Y:
    104104
    105105      height = collPos.y - box->halfLength[1];
    106       PRINTF(0)("height: %f          , model height: %f\n", height, box->halfLength[1]);
    107        PRINTF(0)(" ground normal: %f, %f, %f\n", normal.x, normal.y, normal.z);
    108        PRINTF(0)("COLLISION_TYPE_AXIS_Y \n");
     106     // PRINTF(0)("height: %f          , model height: %f\n", height, box->halfLength[1]);
     107     //  PRINTF(0)(" ground normal: %f, %f, %f\n", normal.x, normal.y, normal.z);
     108     //  PRINTF(0)("COLLISION_TYPE_AXIS_Y \n");
    109109//       // object is beneath the plane (ground)
    110110//       if( height <= 0.0f )
     
    122122   
    123123    case COLLISION_TYPE_AXIS_Z:
    124       PRINTF(0)("height: %f          , model height: %f\n", height, box->halfLength[1]);
    125       PRINTF(0)(" ground normal: %f, %f, %f\n", normal.x, normal.y, normal.z);
    126       PRINTF(0)("COLLISION_TYPE_AXIS_Z \n");
     124    //  PRINTF(0)("height: %f          , model height: %f\n", height, box->halfLength[1]);
     125    //  PRINTF(0)(" ground normal: %f, %f, %f\n", normal.x, normal.y, normal.z);
     126    //  PRINTF(0)("COLLISION_TYPE_AXIS_Z \n");
    127127     break;
    128128
Note: See TracChangeset for help on using the changeset viewer.