Changeset 1925 in orxonox.OLD for orxonox/trunk/core
- Timestamp:
- Jun 8, 2004, 6:57:26 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/core/shoot_rocket.cc
r1924 r1925 61 61 { 62 62 tmpShoot->xCor+=tmpShoot->xVel; 63 tmpShoot->yCor+=tmpShoot->yVel; 63 64 tmpShoot->xVel*=tmpShoot->xAcc; 64 65 } 65 66 else 66 67 { 68 tmpShoot->xCor+=tmpShoot->xVel; 67 69 tmpShoot->yCor+=tmpShoot->yVel; 68 70 tmpShoot->yVel+=tmpShoot->yVel*tmpShoot->yAcc; … … 160 162 { 161 163 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; 164 165 break; 165 166 case RIGHT: 166 sh->xVel = . 3; sh->yVel = .05; sh->zVel = 0;167 sh->xVel = .5; sh->yVel = .05; sh->zVel = 0; 167 168 break; 168 169 }
Note: See TracChangeset
for help on using the changeset viewer.