Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3675 in orxonox.OLD for orxonox/trunk/src/world_entities/player.cc


Ignore:
Timestamp:
Mar 30, 2005, 5:20:21 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: glmenu progressbar corrected, pnode modifications

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/player.cc

    r3672 r3675  
    178178  //orthDirection = orthDirection.cross (direction);
    179179
    180   if( this->bUp && this->getRelCoor().x < 20)
     180  if( this->bUp && this->getRelCoor()->x < 20)
    181181    accel = accel+(direction*acceleration);
    182   if( this->bDown && this->getRelCoor().x > -5)
     182  if( this->bDown && this->getRelCoor()->x > -5)
    183183    accel = accel-(direction*acceleration);
    184   if( this->bLeft &&  TrackManager::getInstance()->getWidth() > -this->getRelCoor().z*2)
     184  if( this->bLeft &&  TrackManager::getInstance()->getWidth() > -this->getRelCoor()->z*2)
    185185    accel = accel - (orthDirection*acceleration);
    186   if( this->bRight &&  TrackManager::getInstance()->getWidth() > this->getRelCoor().z*2)
     186  if( this->bRight &&  TrackManager::getInstance()->getWidth() > this->getRelCoor()->z*2)
    187187    accel = accel + (orthDirection*acceleration);
    188188  if( this->bAscend )
Note: See TracChangeset for help on using the changeset viewer.