Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 27, 2006, 2:31:12 PM (19 years ago)
Author:
patrick
Message:

turning implemented, collision reaction disabled

File:
1 edited

Legend:

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

    r8812 r8824  
    2525
    2626#include <vector>
     27
     28#include "debug.h"
    2729
    2830#include "aabb.h"
     
    6769  AABB* box = collision->getEntityB()->getModelAABB();
    6870
     71  if( box != NULL)
     72  {
     73    PRINTF(0)("collpos:\n");
     74    Vector collPos =  ce->getCollisionPosition();
     75    collPos.debug();
    6976
     77  }
    7078
    71   if(box!=NULL)
     79#if 0
     80  if( box != NULL)
    7281    height = ( ce->getCollisionPosition() - collision->getEntityB()->getAbsCoor() )*(-1.0f) ;
    7382  else
    7483    height = ce->getCollisionPosition() - collision->getEntityB()->getAbsCoor() ;
    7584
    76   if(box!=NULL) {
     85
     86  if( box != NULL) {
    7787
    7888
     
    124134
    125135  }// if(box!= NULL)
     136#endif
    126137  /*
    127138  PRINTF(0)("Collision with Ground: \n");
Note: See TracChangeset for help on using the changeset viewer.