Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 29, 2011, 7:15:43 PM (13 years ago)
Author:
landauf
Message:

small cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/orxonox/worldentities/pawns/SpaceShip.cc

    r8658 r8668  
    245245        Pawn::rotateYaw(value);
    246246
    247                 //This function call adds a lift to the ship when it is rotating to make it's movement more "realistic" and enhance the feeling.
     247        //This function call adds a lift to the ship when it is rotating to make it's movement more "realistic" and enhance the feeling.
    248248        if (abs(this-> getLocalVelocity().z) < stallSpeed_)  {this->moveRightLeft(-lift_ / 5 * value * sqrt(abs(this-> getLocalVelocity().z)));}
    249249    }
     
    255255        Pawn::rotatePitch(value);
    256256
    257                 //This function call adds a lift to the ship when it is pitching to make it's movement more "realistic" and enhance the feeling.
     257        //This function call adds a lift to the ship when it is pitching to make it's movement more "realistic" and enhance the feeling.
    258258        if (abs(this-> getLocalVelocity().z) < stallSpeed_)  {this->moveUpDown(lift_ / 5 * value * sqrt(abs(this-> getLocalVelocity().z)));}
    259259    }
Note: See TracChangeset for help on using the changeset viewer.