Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 28, 2006, 2:31:15 PM (18 years ago)
Author:
patrick
Message:

collision interface extended

File:
1 edited

Legend:

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

    r8847 r8852  
    6666  //   collision->getEntityB()->getAbsCoor().debug();
    6767
    68   Vector height;
     68  float height;
    6969  AABB* box = collision->getEntityB()->getModelAABB();
    7070  WorldEntity* entity = collision->getEntityB();
    71 /*
     71
    7272  float CR_MAX_WALK_HEIGHT = 2.0f;
    7373
     
    8888
    8989
    90   }*/
     90  }
    9191
    9292
     
    9494
    9595
    96 //#if 0
     96#if 0
    9797  if( box != NULL)
    9898    height = ( ce->getCollisionPosition() - collision->getEntityB()->getAbsCoor() )*(-1.0f) ;
     
    151151
    152152  }// if(box!= NULL)
    153 //#endif
     153#endif
    154154  /*
    155155  PRINTF(0)("Collision with Ground: \n");
Note: See TracChangeset for help on using the changeset viewer.