Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 6, 2005, 8:04:48 PM (20 years ago)
Author:
bottac
Message:
 
Location:
branches/height_map1
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/height_map1/src/world_entities/player.cc

    r5767 r5940  
    282282  //orthDirection = orthDirection.cross (direction);
    283283
    284   if( this->bUp && this->getRelCoor().x < 20)
     284  if( this->bUp )
    285285    accel += direction;
    286   if( this->bDown && this->getRelCoor().x > -5)
     286  if( this->bDown )
    287287    accel -= direction;
    288288
    289   if( this->bLeft && TrackManager::getInstance()->getWidth() > -this->getRelCoor().z*2)
     289  if( this->bLeft )
    290290  {
    291291    accel -=(orthDirection);
     
    293293    rotVal -= .4;
    294294  }
    295   if( this->bRight && TrackManager::getInstance()->getWidth() > this->getRelCoor().z*2)
     295  if( this->bRight )
    296296  {
    297297    accel += orthDirection;
Note: See TracChangeset for help on using the changeset viewer.