Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7096 in orxonox.OLD for trunk/src


Ignore:
Timestamp:
Feb 7, 2006, 5:38:23 PM (19 years ago)
Author:
bensch
Message:

speed in helicopter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/space_ships/helicopter.cc

    r7014 r7096  
    163163  this->getWeaponManager()->setSlotCount(7);
    164164
    165   this->getWeaponManager()->setSlotPosition(0, Vector(-2.6, .1, -3.0));
     165  this->getWeaponManager()->setSlotPosition(0, Vector(0.0, .1, -1.0));
    166166  this->getWeaponManager()->setSlotCapability(0, WTYPE_ALLDIRS | WTYPE_DIRECTIONAL);
    167167
    168   this->getWeaponManager()->setSlotPosition(1, Vector(-2.6, .1, 3.0));
     168  this->getWeaponManager()->setSlotPosition(1, Vector(0.0, .1, 1.0));
    169169  this->getWeaponManager()->setSlotCapability(1, WTYPE_ALLDIRS | WTYPE_DIRECTIONAL);
    170170
     
    295295     //accel -= this->getAbsDirY();
    296296
    297      accel += Vector((this->getAbsDirX()).x,0,(this->getAbsDirX()).z);
     297     accel += Vector((this->getAbsDirX()).x,0,(this->getAbsDirX()).z) * 3;
    298298     if((this->getAbsDirX()).y >= -0.1) rotValZ -= time;
    299299   }
    300300   else
    301301   {
    302        if(this->getAbsDirX().y < -.02) this->shiftDir(Quaternion(time, Vector(0,0,1)));
     302       if(this->getAbsDirX().y < -.02) this->shiftDir(Quaternion(time, Vector(0,0,1))) ;
    303303   }
    304304
     
    308308     //accel -= this->getAbsDirY();
    309309
    310      accel -= Vector((this->getAbsDirX()).x,0,(this->getAbsDirX()).z);
     310     accel -= Vector((this->getAbsDirX()).x,0,(this->getAbsDirX()).z)*3;
    311311     rotValZ += time;
    312312   }
Note: See TracChangeset for help on using the changeset viewer.