Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5883 in orxonox.OLD for branches/spaceshipcontrol/src/world_entities


Ignore:
Timestamp:
Dec 3, 2005, 2:01:15 AM (18 years ago)
Author:
bensch
Message:

orxonox/branches/spaceshipcontroll: completely working branche

Location:
branches/spaceshipcontrol/src/world_entities
Files:
2 edited

Legend:

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

    r5881 r5883  
    6262
    6363void Player::setControllable(Playable* controllalble)
    64  {
     64{
    6565
    66    this->controllable = controllalble;
    67    this->controllable->subscribeEvents(this);
     66  this->controllable = controllalble;
     67  this->controllable->subscribeEvents(this);
    6868
    69  }
     69}
    7070
    7171
  • branches/spaceshipcontrol/src/world_entities/space_ships/space_ship.cc

    r5881 r5883  
    266266    accel -= direction;
    267267
    268   if( this->bLeft > -this->getRelCoor().z*2)
     268  if( this->bLeft /* > -this->getRelCoor().z*2*/)
    269269  {
    270270    accel -=(orthDirection);
     
    272272    rotVal -= .4;
    273273  }
    274   if( this->bRight > this->getRelCoor().z*2)
     274  if( this->bRight /* > this->getRelCoor().z*2*/)
    275275  {
    276276    accel += orthDirection;
Note: See TracChangeset for help on using the changeset viewer.