Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1925 in orxonox.OLD for orxonox


Ignore:
Timestamp:
Jun 8, 2004, 6:57:26 PM (20 years ago)
Author:
bensch
Message:

orxonox/truk/core: now sideshots are way cooler and smoother

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/core/shoot_rocket.cc

    r1924 r1925  
    6161            {
    6262              tmpShoot->xCor+=tmpShoot->xVel;
     63              tmpShoot->yCor+=tmpShoot->yVel;
    6364              tmpShoot->xVel*=tmpShoot->xAcc;
    6465            }
    6566          else
    6667            {
     68              tmpShoot->xCor+=tmpShoot->xVel;
    6769              tmpShoot->yCor+=tmpShoot->yVel;
    6870              tmpShoot->yVel+=tmpShoot->yVel*tmpShoot->yAcc;
     
    160162        {
    161163        case LEFT:
    162           sh->xVel = -.3; sh->yVel = .05; sh->zVel = 0;
    163            cout << "Left\n";
     164          sh->xVel = -.5; sh->yVel = .05; sh->zVel = 0;
    164165          break;
    165166        case RIGHT:
    166           sh->xVel = .3; sh->yVel = .05; sh->zVel = 0;
     167          sh->xVel = .5; sh->yVel = .05; sh->zVel = 0;
    167168          break;
    168169        }
Note: See TracChangeset for help on using the changeset viewer.